Files
fe_portal_frontend/config/proxy.ts

23 lines
627 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

export default {
dev: {
// '/api/wfap/v1/audit/bill/find/by/procid': {
// target: 'http://10.242.37.148:8891/',//审批单 dev环境自动审批暂时用不到
// changeOrigin: true,
// pathRewrite: { '^': '' },
// },
'/api': {
// target: 'http://10.242.37.148:18022',//连接天宫的ng
target: 'http://10.0.0.10:18013',//连接天宫的ng
changeOrigin: true,
pathRewrite: { '^/api': '' },
},
},
prod: {
'/api/*': {
target: 'http://uscm.unicom.local:18022',//连接天宫的ng
changeOrigin: true,
pathRewrite: { '^': '' },
},
}
};