Files
2026-07-16 17:37:25 +02:00

20 lines
373 B
TypeScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
export default defineConfig({
plugins: [react()],
server: {
port: 5173,
proxy: {
"/api": {
target: "http://localhost:3001",
changeOrigin: true,
},
"/socket.io": {
target: "http://localhost:3001",
ws: true,
},
},
},
});