Reorganize web folder structurally

This commit is contained in:
Халимов Рустам
2026-03-19 22:24:21 +03:00
parent 11ebbc853b
commit 4384233aa5
62 changed files with 0 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import tailwindcss from '@tailwindcss/vite';
export default defineConfig({
envDir: '../../',
plugins: [react(), tailwindcss()],
server: {
port: 5173,
proxy: {
'/api': {
target: 'http://localhost:5059',
changeOrigin: true,
},
'/uploads': {
target: 'http://localhost:5059',
changeOrigin: true,
},
'/hubs': {
target: 'http://localhost:5059',
ws: true,
changeOrigin: true,
},
},
},
});