This commit is contained in:
quantulr
2024-03-01 17:30:16 +08:00
parent 14c8ee028a
commit 73467d5902
3 changed files with 195 additions and 1 deletions

View File

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