Commit ebb7431f by xiaotong

端口调整

parent ba8836a6
...@@ -35,7 +35,7 @@ if (process.env.NODE_ENV === 'production') {//生产模式 ...@@ -35,7 +35,7 @@ if (process.env.NODE_ENV === 'production') {//生产模式
baseData = { baseData = {
"hostPublic": "localhost:31081", "hostPublic": "localhost:31081",
"host": "localhost:31091", "host": "localhost:31091",
"hostAdmin": "localhost:31092", "hostAdmin": "192.168.0.114:31092",
"hostBusiness": "localhost:31093", "hostBusiness": "localhost:31093",
"hostRemittance": "localhost:31094", "hostRemittance": "localhost:31094",
"hostFinance": "15.52.176.251:22002", "hostFinance": "15.52.176.251:22002",
......
const path = require('path') const path = require('path')
const CopyWebpackPlugin = require('copy-webpack-plugin') const CopyWebpackPlugin = require('copy-webpack-plugin')
const publicPath = require('./src/config/isc-publicPath.js') const publicPath = require('./src/config/isc-publicPath.js')
const baseData = require('./src/config/isc-baseData.js') const baseData = require('./src/config/isc-baseData-local.js')
let moment = require("moment") let moment = require("moment")
process.env.VUE_APP_BASETHEME = 'purple'; process.env.VUE_APP_BASETHEME = 'purple';
...@@ -60,7 +60,7 @@ module.exports = { ...@@ -60,7 +60,7 @@ module.exports = {
target: baseData.schemes + '://' + baseData.hostPublic, target: baseData.schemes + '://' + baseData.hostPublic,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/webapi/public': '/webapi' '^/webapi/public': '/public'
} }
}, },
'/webapi/business/': { '/webapi/business/': {
...@@ -81,7 +81,7 @@ module.exports = { ...@@ -81,7 +81,7 @@ module.exports = {
target: baseData.schemes + '://' + baseData.hostRemittance, target: baseData.schemes + '://' + baseData.hostRemittance,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/webapi/Remittance': '/webapi/Remittance' '^/webapi/Remittance': '/remit'
} }
}, },
'/webapi/Lc/': { '/webapi/Lc/': {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment