diff --git a/webclient/vite.config.ts b/webclient/vite.config.ts index 328742ee3..ac9829185 100644 --- a/webclient/vite.config.ts +++ b/webclient/vite.config.ts @@ -17,7 +17,10 @@ export default defineConfig({ strictPort: true, open: false, proxy: { - "^/api/.+": { + "^/api/[cf].*": { + target: "https://nav.tum.de", + }, + "^/api/[^cf].*": { target: "http://127.0.0.1:8080", secure: false, },