config提交

This commit is contained in:
BianLzhaoMin 2025-07-01 10:37:00 +08:00
parent bb62345c1a
commit 1f97edd413
1 changed files with 5 additions and 4 deletions

View File

@ -64,14 +64,15 @@ export default defineConfig(({ mode }) => {
host: true,
open: true,
proxy: {
'/api': {
target: 'http://192.168.0.38:58080', // 郝志权测试环境
'/robot-screen-api': {
// target: 'http://192.168.0.38:21999', // 郝志权测试环境
target: 'http://192.168.0.14:58080', // 测试环境
changeOrigin: true,
rewrite: (p) => p.replace(/^\/api/, ''),
rewrite: (p) => p.replace(/^\/robot-screen-api/, ''),
},
'/third-party': {
// target: 'http://127.0.0.1:8089',
target: 'https://cs.fydl.cloud:39979/icvs2/',
target: 'http://112.31.70.193:1854/icvs2/',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/third-party/, ''),
},