diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 36068d2..909ba5d 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -5,6 +5,7 @@ import basicSsl from "@vitejs/plugin-basic-ssl"; import vue from "@vitejs/plugin-vue"; // https://vitejs.dev/config/ +// noinspection JSUnusedGlobalSymbols export default defineConfig({ plugins: [basicSsl(), vue()], resolve: { @@ -18,10 +19,14 @@ export default defineConfig({ strictPort: true, proxy: { "/api/": { - target: "http://localhost:8080", + // target: "http://localhost:8080", + target: "https://formular.hamburg.freifunk.net", + changeOrigin: true, }, "/internal/api/": { - target: "http://localhost:8080", + // target: "http://localhost:8080", + target: "https://formular.hamburg.freifunk.net", + changeOrigin: true, }, }, },