fix : 简化代码模板

This commit is contained in:
2024-09-09 21:10:37 +08:00
parent 97321dabe7
commit 6e94e473cf
32 changed files with 3453 additions and 475 deletions

View File

@@ -76,17 +76,11 @@ export default defineConfig({
// rewrite: (path) => path.replace(/^\/api/, ""),
// },
"/api": {
// target: "http://fateverse-vue.frp.feashow.cn",
// changeOrigin: true,
target: "http://192.168.31.176:9010",
// target: "http://192.168.31.176:9010",
target: "http://112.19.165.99:20002/",
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ""),
},
"/api/notice-ws": {
target: "ws://fateverse-vue.frp.feashow.cn/api/notice-ws",
ws: true,
changeOrigin: true,
},
// rewrite: (path) => path.replace(/^\/api/, ""),
}
},
},
});