|
@@ -15,7 +15,7 @@ module.exports = {
|
|
|
lintOnSave: process.env.NODE_ENV === 'development',
|
|
|
productionSourceMap: false,
|
|
|
devServer: {
|
|
|
- port: buildConf.vueClientPort,
|
|
|
+ port: process.env.VUE_APP_CLI_PORT,
|
|
|
open: true,
|
|
|
overlay: {
|
|
|
warnings: false,
|
|
@@ -25,7 +25,7 @@ module.exports = {
|
|
|
|
|
|
|
|
|
[process.env.VUE_APP_BASE_API]: {
|
|
|
- target: `http://127.0.0.1:` + buildConf.goServerPort + `/`,
|
|
|
+ target: `${process.env.VUE_APP_BASE_PATH}:${process.env.VUE_APP_SERVER_PORT}/`,
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
['^' + process.env.VUE_APP_BASE_API]: ''
|