diff --git a/svelte-ui/rollup.config.js b/svelte-ui/rollup.config.js index d409155..ec6db46 100644 --- a/svelte-ui/rollup.config.js +++ b/svelte-ui/rollup.config.js @@ -76,7 +76,7 @@ export default { spa: "public/index.html", port: 5000, proxy: { - "/api/*": "localhost:8000", + "/api/*": process.env.API_PROXY_TARGET || "localhost:8000", }, }),