diff --git a/web/vite.config.ts b/web/vite.config.ts index e0e2a07b2..db4ff1fdc 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -19,4 +19,21 @@ export default defineConfig({ '@': path.resolve(__dirname, './src'), }, }, + server: { + host: '0.0.0.0', + proxy: { + '/api': { + target: 'http://localhost:3000', + changeOrigin: true, + }, + '/mj': { + target: 'http://localhost:3000', + changeOrigin: true, + }, + '/pg': { + target: 'http://localhost:3000', + changeOrigin: true, + }, + }, + }, })