diff --git a/daemon/web/vite.config.ts b/daemon/web/vite.config.ts index 9720c43..c10a3cf 100644 --- a/daemon/web/vite.config.ts +++ b/daemon/web/vite.config.ts @@ -5,7 +5,7 @@ export default defineConfig({ server: { proxy: { '/api': { - target: 'http://localhost:8080', + target: process.env.API_TARGET || 'http://localhost:8080', changeOrigin: true, secure: false, configure: (proxy, _options) => {