Mute incorrect warning.

This commit is contained in:
baldo 2022-07-14 11:29:31 +02:00
parent 403a537869
commit 22b80ef26f

View file

@ -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,
},
},
},