This commit is contained in:
quantulr
2023-12-11 15:25:14 +08:00
parent 62b38cbefb
commit 14c8ee028a
7 changed files with 405 additions and 371 deletions

View File

@ -32,7 +32,7 @@ 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:81/api',
target: 'http://119.45.197.174:81/api',
// target: "http://101.34.251.155:81/api",
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, ""),