Files
fe_supplier_frontend/config/proxy.ts

33 lines
875 B
TypeScript
Raw Normal View History

2025-06-17 14:20:06 +08:00
export default {
dev: {
2025-07-15 09:07:43 +08:00
'/api/v1': {
target: 'http://10.0.0.14:18030',// 李
// target: 'http://10.0.0.46:18030',// 袁
changeOrigin: true,
pathRewrite: { '^/api/v1': '/v1' },
},
2025-06-17 14:20:06 +08:00
'/api': {
2025-06-18 18:46:32 +08:00
// target: 'http://10.242.37.148:18022',//
2025-07-09 14:01:45 +08:00
// target: 'http://10.0.0.10:18012',// 茂
2025-07-15 09:07:43 +08:00
// target: 'http://10.0.0.125:18012',// 测试
target: 'http://10.0.0.14:18012',// 李
2025-07-10 15:38:05 +08:00
// target: 'http://10.0.0.14:18030',// 李
2025-07-09 14:01:45 +08:00
// target: 'http://10.0.0.46:18030',// 袁
2025-06-17 14:20:06 +08:00
changeOrigin: true,
pathRewrite: { '^/api': '' },
},
2025-06-18 18:46:32 +08:00
'/upload': {
target: 'http://10.0.0.10:18013',//
2025-06-17 14:20:06 +08:00
changeOrigin: true,
2025-06-18 18:46:32 +08:00
pathRewrite: { '^/upload': '' },
2025-06-17 14:20:06 +08:00
},
},
prod: {
'/api/*': {
2025-06-18 18:46:32 +08:00
target: 'http://uscm.unicom.local:18022',//
2025-06-17 14:20:06 +08:00
changeOrigin: true,
pathRewrite: { '^': '' },
},
}
};