Re-add API_TARGET envvar

This commit is contained in:
Markus Unterwaditzer
2026-02-10 12:52:54 +01:00
committed by Cooper Quintin
parent 89d1d71ec9
commit ed8b1903f8

View File

@@ -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) => {