This commit is contained in:
zhujiyan
2024-05-14 15:45:22 +08:00
parent 174e50d784
commit 9bb3505339
2 changed files with 165 additions and 152 deletions

View File

@@ -23,6 +23,7 @@ export default defineConfig({
// target: 'http://10.95.53.49:10215', //海南服务器ip
target: 'http://192.168.1.125:10215', //hsw
// target: 'http://192.168.1.81:10215', //数据中心
// target: 'http://192.168.1.130:10215',
changeOrigin: true,
rewrite: path => path.replace(/^\/api/, '') //路径重写,把'/api'替换为''
},