diff --git a/webui/vite.config.ts b/webui/vite.config.ts index e9fd5d3..c88df3e 100644 --- a/webui/vite.config.ts +++ b/webui/vite.config.ts @@ -17,7 +17,7 @@ export default defineConfig({ server: { proxy: { '/api': { - target: 'http://localhost:8093/' + target: process.env.UPEND_PROXY_URL || 'http://localhost:8093/' } } }