diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index add6d11..d397e9d 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -9,11 +9,11 @@ export default defineConfig({ port: 5173, proxy: { "/api": { - target: "http://8.153.151.51:8890", + target: process.env.VITE_GATEWAY_URL || "http://127.0.0.1:8890", changeOrigin: true, }, "/jupyter": { - target: "http://8.153.151.51:8890", + target: process.env.VITE_GATEWAY_URL || "http://127.0.0.1:8890", changeOrigin: true, ws: true, },