页面调整

This commit is contained in:
2024-02-28 10:45:17 +08:00
parent 268b8547f2
commit a968a4a234
5 changed files with 13 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ export default defineConfig({
host: '0.0.0.0',
proxy: {
'/api': {
target: 'http://192.168.1.81:10215', //数据中心
target: 'http://192.168.1.125:10215', //数据中心
changeOrigin: true,
rewrite: path => path.replace(/^\/api/, '') //路径重写,把'/api'替换为''
},