|
|
@ -36,29 +36,21 @@ module.exports = { |
|
|
|
open: true, |
|
|
|
proxy: { |
|
|
|
// [process.env.VUE_APP_BASE_API + '/run/']: {
|
|
|
|
// target: "http://shuili-admin.product.dev.com:30115",
|
|
|
|
// target: "http://172.16.34.27:18082",
|
|
|
|
// changeOrigin: true,
|
|
|
|
// // logLevel: 'debug',
|
|
|
|
// pathRewrite: {
|
|
|
|
// [process.env.VUE_APP_BASE_API +'/run/']: '/tianhui-admin-web/run/'
|
|
|
|
// }
|
|
|
|
// },
|
|
|
|
[process.env.VUE_APP_BASE_API + '/run/']: { |
|
|
|
target: "http://172.16.34.27:18082", |
|
|
|
changeOrigin: true, |
|
|
|
// logLevel: 'debug',
|
|
|
|
pathRewrite: { |
|
|
|
[process.env.VUE_APP_BASE_API +'/run/']: '/tianhui-admin-web/run/' |
|
|
|
} |
|
|
|
}, |
|
|
|
[ '/profile/']: { |
|
|
|
target: 'http://shuili-admin.product.dev.com:30115', |
|
|
|
changeOrigin: true, |
|
|
|
// logLevel: 'debug',
|
|
|
|
pathRewrite: { |
|
|
|
['/profile/']: '/tianhui-admin-web/profile/' |
|
|
|
} |
|
|
|
}, |
|
|
|
// [ '/profile/']: {
|
|
|
|
// target: 'http://shuili-admin.product.dev.com:30115',
|
|
|
|
// changeOrigin: true,
|
|
|
|
// // logLevel: 'debug',
|
|
|
|
// pathRewrite: {
|
|
|
|
// ['/profile/']: '/tianhui-admin-web/profile/'
|
|
|
|
// }
|
|
|
|
// },
|
|
|
|
// 曹琪本地接口
|
|
|
|
// [process.env.VUE_APP_BASE_API]: {
|
|
|
|
// target: 'http://172.16.34.59:18083',
|
|
|
|