diff --git a/client/vite.config.ts b/client/vite.config.ts index e836d31..56a6e34 100644 --- a/client/vite.config.ts +++ b/client/vite.config.ts @@ -12,11 +12,11 @@ export default defineConfig({ }, proxy: { '/api': { - target: process.env.VITE_DEV_API_PROXY_TARGET || 'http://localhost:3000', + target: process.env.VITE_DEV_API_PROXY_TARGET || 'http://localhost:2567', changeOrigin: true }, '/ws': { - target: process.env.VITE_DEV_WS_PROXY_TARGET || 'http://localhost:3000', + target: process.env.VITE_DEV_WS_PROXY_TARGET || 'http://localhost:2567', changeOrigin: true, ws: true, rewrite: (path) => path.replace(/^\/ws/, '')