Mute incorrect warning.
This commit is contained in:
parent
403a537869
commit
22b80ef26f
1 changed files with 7 additions and 2 deletions
|
@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue