Commit 44bcd6c2 authored by liuzhaoh's avatar liuzhaoh

Merge branch 'dev' of http://app.bmetech.com/liuzhaohui/dctomproject into dev

parents 03a77ff4 1b4bb9bc
......@@ -17,11 +17,10 @@ export default defineConfig(({mode}) => {
port: 3000, // 指定服务器端口
proxy: {
[ENV.VITE_APP_BASE_API5]: {
target: 'https://screen.bmetech.com',
// target: 'https://vis.bmetech.com',
target: 'https://screen.bmetech.com', // 更新为完整的基础路径
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '') // 添加路径重写规则
},
}
}
}
......
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