This commit is contained in:
quantulr
2023-10-18 17:24:21 +08:00
parent e81644353d
commit 62b38cbefb
2 changed files with 20 additions and 15 deletions

View File

@ -32,8 +32,8 @@ export default defineConfig(({ mode, command }) => {
// https://cn.vitejs.dev/config/#server-proxy
"/dev-api": {
// target: "http://192.168.110.10:1618",
// target: 'http://101.34.131.16:1618',
target: "http://101.34.251.155:81/api",
target: 'http://101.34.131.16:81/api',
// target: "http://101.34.251.155:81/api",
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, ""),
},