This commit is contained in:
2023-05-30 17:33:25 +08:00
parent 0474ca3578
commit 46be066199
12 changed files with 668 additions and 344 deletions

View File

@ -31,7 +31,7 @@ export default defineConfig(({ mode, command }) => {
proxy: {
// https://cn.vitejs.dev/config/#server-proxy
"/dev-api": {
target: "http://192.168.1.201:1615",
target: "http://192.168.0.201:1615",
// target: "http://117.72.16.89/api",
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, ""),