|
@@ -27,8 +27,37 @@ module.exports = {
|
|
|
},
|
|
|
public: "0.0.0.0:9527", //可以实现热部署
|
|
|
proxy: {
|
|
|
+ [process.env.VUE_APP_OAUTH_API]: {
|
|
|
+ target: `http://localhost:19090/sso`,
|
|
|
+ changeOrigin: true,
|
|
|
+ // logLevel: 'debug', //打印日志
|
|
|
+ pathRewrite: {
|
|
|
+ ['^' + process.env.VUE_APP_OAUTH_API]: ''
|
|
|
+ }
|
|
|
+ },
|
|
|
+ [process.env.VUE_APP_PIM_API]: {
|
|
|
+ target: `http://localhost:18080/pim`,
|
|
|
+ changeOrigin: true,
|
|
|
+ // logLevel: 'debug', //打印日志
|
|
|
+ pathRewrite: {
|
|
|
+ ['^' + process.env.VUE_APP_PIM_API]: ''
|
|
|
+ }
|
|
|
+ },
|
|
|
+ [process.env.VUE_APP_OMS_API]: {
|
|
|
+ target: `http://localhost:18081/oms`,
|
|
|
+ changeOrigin: true,
|
|
|
+ // logLevel: 'debug', //打印日志
|
|
|
+ pathRewrite: {
|
|
|
+ ['^' + process.env.VUE_APP_OMS_API]: ''
|
|
|
+ }
|
|
|
+ }
|
|
|
+ // "/": {
|
|
|
+ // target: "https://testfoms.gloria.com.cn",
|
|
|
+ // changeOrigin: true
|
|
|
+ // },
|
|
|
+ //http://10.41.3.152:18081 http://10.41.3.65:19090
|
|
|
// [process.env.VUE_APP_OAUTH_API]: {
|
|
|
- // target: `http://localhost:19090/sso`,
|
|
|
+ // target: `http://10.41.3.65:19090/sso`,
|
|
|
// changeOrigin: true,
|
|
|
// // logLevel: 'debug', //打印日志
|
|
|
// pathRewrite: {
|
|
@@ -36,7 +65,7 @@ module.exports = {
|
|
|
// }
|
|
|
// },
|
|
|
// [process.env.VUE_APP_PIM_API]: {
|
|
|
- // target: `http://localhost:18080/pim`,
|
|
|
+ // target: `http://10.41.3.65:18081/pim`,
|
|
|
// changeOrigin: true,
|
|
|
// // logLevel: 'debug', //打印日志
|
|
|
// pathRewrite: {
|
|
@@ -44,42 +73,13 @@ module.exports = {
|
|
|
// }
|
|
|
// },
|
|
|
// [process.env.VUE_APP_OMS_API]: {
|
|
|
- // target: `http://localhost:18081/oms`,
|
|
|
+ // target: `http://10.41.3.106:18081/oms`,
|
|
|
// changeOrigin: true,
|
|
|
// // logLevel: 'debug', //打印日志
|
|
|
// pathRewrite: {
|
|
|
// ['^' + process.env.VUE_APP_OMS_API]: ''
|
|
|
// }
|
|
|
- // }
|
|
|
- // "/": {
|
|
|
- // target: "https://testfoms.gloria.com.cn",
|
|
|
- // changeOrigin: true
|
|
|
// },
|
|
|
- //http://10.41.3.152:18081 http://10.41.3.65:19090
|
|
|
- [process.env.VUE_APP_OAUTH_API]: {
|
|
|
- target: `http://10.41.3.65:19090/sso`,
|
|
|
- changeOrigin: true,
|
|
|
- // logLevel: 'debug', //打印日志
|
|
|
- pathRewrite: {
|
|
|
- ['^' + process.env.VUE_APP_OAUTH_API]: ''
|
|
|
- }
|
|
|
- },
|
|
|
- [process.env.VUE_APP_PIM_API]: {
|
|
|
- target: `http://10.41.3.65:18081/pim`,
|
|
|
- changeOrigin: true,
|
|
|
- // logLevel: 'debug', //打印日志
|
|
|
- pathRewrite: {
|
|
|
- ['^' + process.env.VUE_APP_PIM_API]: ''
|
|
|
- }
|
|
|
- },
|
|
|
- [process.env.VUE_APP_OMS_API]: {
|
|
|
- target: `http://10.41.3.106:18081/oms`,
|
|
|
- changeOrigin: true,
|
|
|
- // logLevel: 'debug', //打印日志
|
|
|
- pathRewrite: {
|
|
|
- ['^' + process.env.VUE_APP_OMS_API]: ''
|
|
|
- }
|
|
|
- },
|
|
|
// [process.env.VUE_APP_OMS_API]: {
|
|
|
// target: `http://10.41.3.65:18081/oms`,
|
|
|
// changeOrigin: true,
|