Commit 9095db1a authored by 刘斌's avatar 刘斌

fix: 测试环境地址修改

parent 2165ef52
VITE_BASE=/
# 接口地址
VITE_GLOB_API_URL=https://mock-napi.vben.pro/api
VITE_GLOB_API_URL=http://172.16.200.108:18090/api
# 是否开启压缩,可以设置为 none, brotli, gzip
VITE_COMPRESS=none
......
......@@ -10,7 +10,7 @@ export default defineConfig(async () => {
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
// mock代理目标地址
target: 'http://172.16.200.108:18090/api',
target: 'http://localhost:9000/api',
ws: true,
},
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment