Files
forkmessager/apps/web/vite.config.ts
Халимов Рустам 15344f8636 Доработки профиля
2026-03-14 01:59:06 +03:00

27 lines
574 B
TypeScript

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,
},
},
},
});