|
|
@@ -84,25 +84,25 @@ module.exports = {
|
|
|
},
|
|
|
proxy: {
|
|
|
'/api/': {
|
|
|
- target: 'http://localhost:8080' // 代理地址
|
|
|
+ target: 'http://environment-24-71.seec.svc.cluster.local:8080' // 代理地址
|
|
|
// changeOrigin: true,
|
|
|
// pathRewrite: {
|
|
|
// '^/api': ''
|
|
|
// },
|
|
|
},
|
|
|
- '/apis/':{
|
|
|
- //target: 'http://localhost:5000',
|
|
|
- target:'http://47.111.95.164:8080',
|
|
|
+ '/apis/': {
|
|
|
+ // target: 'http://localhost:5000',
|
|
|
+ target: 'http://47.111.95.164:8080',
|
|
|
pathRewrite: {
|
|
|
- '^/apis': '/api'
|
|
|
- },
|
|
|
+ '^/apis': '/api'
|
|
|
+ }
|
|
|
},
|
|
|
- '/apiss/':{
|
|
|
- //target: 'http://localhost:5000',
|
|
|
- target:'http://47.111.95.164:8080',
|
|
|
+ '/apiss/': {
|
|
|
+ // target: 'http://localhost:5000',
|
|
|
+ target: 'http://47.111.95.164:8080',
|
|
|
pathRewrite: {
|
|
|
- '^/apiss': '/api'
|
|
|
- },
|
|
|
+ '^/apiss': '/api'
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|