chore: update dev config (#857)

This commit is contained in:
boojack
2022-12-25 10:39:45 +08:00
committed by GitHub
parent 05b41804e3
commit afc9709484
5 changed files with 55 additions and 41 deletions

View File

@@ -13,22 +13,22 @@ export default defineConfig({
],
server: {
host: "0.0.0.0",
port: 3000,
port: 3001,
proxy: {
"^/api": {
target: "http://localhost:8080/",
target: "http://localhost:8081/",
changeOrigin: true,
},
"^/o/": {
target: "http://localhost:8080/",
target: "http://localhost:8081/",
changeOrigin: true,
},
"^/h/": {
target: "http://localhost:8080/",
target: "http://localhost:8081/",
changeOrigin: true,
},
"^/u/\\d*/rss.xml": {
target: "http://localhost:8080/",
target: "http://localhost:8081/",
changeOrigin: true,
},
},