You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
1.8 KiB
71 lines
1.8 KiB
/**
|
|
* 在生产环境 代理是无法生效的,所以这里没有生产环境的配置
|
|
* The agent cannot take effect in the production environment
|
|
* so there is no configuration of the production environment
|
|
* For details, please see
|
|
* http://10.10.14.187:8005/v1
|
|
*/
|
|
export default {
|
|
dev: {
|
|
'/openapi/': {
|
|
target: 'http://10.10.14.187:8005/v1',
|
|
changeOrigin: true,
|
|
pathRewrite: { '^': '' },
|
|
},
|
|
'/dataex/': {
|
|
target: 'http://10.10.14.187/',
|
|
changeOrigin: true,
|
|
pathRewrite: { '^': '' },
|
|
},
|
|
'/support/': {
|
|
target: 'http://10.10.14.187:8005',
|
|
changeOrigin: true,
|
|
pathRewrite: { '^': '' },
|
|
},
|
|
// '/report/': {
|
|
// target: 'http://10.10.24.133:9009/v1',
|
|
// changeOrigin: true,
|
|
// pathRewrite: { '^': '' },
|
|
// },
|
|
},
|
|
test: {
|
|
'/openapi/': {
|
|
target: 'http://183.251.154.143:8005//v1',
|
|
changeOrigin: true,
|
|
pathRewrite: { '^': '' },
|
|
},
|
|
'/report/': {
|
|
target: 'http://10.10.24.133:9009/v1',
|
|
changeOrigin: true,
|
|
pathRewrite: { '^': '' },
|
|
},
|
|
'/support/': {
|
|
target: 'http://183.251.154.143:8005/',
|
|
changeOrigin: true,
|
|
pathRewrite: { '^': '' },
|
|
},
|
|
// '/report/': {
|
|
// target: 'http://10.10.24.133:9009/v1',
|
|
// changeOrigin: true,
|
|
// pathRewrite: { '^': '' },
|
|
// },
|
|
},
|
|
pre: {
|
|
'/openapi/': {
|
|
target: 'http://10.10.14.187:8005/v1',
|
|
changeOrigin: true,
|
|
pathRewrite: { '^': '' },
|
|
},
|
|
'/support/': {
|
|
target: 'http://10.10.14.187:8005',
|
|
changeOrigin: true,
|
|
pathRewrite: { '^': '' },
|
|
},
|
|
'/report/': {
|
|
target: 'http://10.10.24.133:9009/v1',
|
|
changeOrigin: true,
|
|
pathRewrite: { '^': '' },
|
|
},
|
|
},
|
|
};
|