Files
fe_portal_frontend/config/proxy.ts

28 lines
750 B
TypeScript
Raw Normal View History

2025-06-16 09:25:19 +08:00
export default {
dev: {
// '/api/wfap/v1/audit/bill/find/by/procid': {
// target: 'http://10.242.37.148:8891/',//审批单 dev环境自动审批暂时用不到
// changeOrigin: true,
// pathRewrite: { '^': '' },
// },
'/api': {
2025-07-07 17:01:07 +08:00
// target: 'http://10.0.0.125:18012',//测试环境
target: 'http://10.0.0.10:18013',//连接天宫的ng
2025-06-16 09:25:19 +08:00
changeOrigin: true,
pathRewrite: { '^/api': '' },
2025-06-16 09:25:19 +08:00
},
2025-06-30 14:16:17 +08:00
'/upload': {
2025-07-07 17:01:07 +08:00
target: 'http://10.0.0.14:18012',//
2025-06-30 14:16:17 +08:00
changeOrigin: true,
pathRewrite: { '^/upload': '' },
},
2025-06-16 09:25:19 +08:00
},
prod: {
'/api/*': {
target: 'http://uscm.unicom.local:18022',//连接天宫的ng
changeOrigin: true,
pathRewrite: { '^': '' },
},
}
};