|
|
|
|
@ -6,14 +6,14 @@ function resolve(dir) {
|
|
|
|
|
return path.join(__dirname, dir)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const name = defaultSettings.title || '朗业初始化项目' // page title
|
|
|
|
|
const name = defaultSettings.title || '孕育邦' // page title
|
|
|
|
|
|
|
|
|
|
// If your port is set to 80,
|
|
|
|
|
// use administrator privileges to execute the command line.
|
|
|
|
|
// For example, Mac: sudo npm run
|
|
|
|
|
// You can change the port by the following methods:
|
|
|
|
|
// port = 9528 npm run dev OR npm run dev --port = 9528
|
|
|
|
|
const port = process.env.port || process.env.npm_config_port || 8001 // dev port
|
|
|
|
|
const port = process.env.port || process.env.npm_config_port || 8012 // dev port
|
|
|
|
|
|
|
|
|
|
// All configuration item explanations can be find in https://cli.vuejs.org/config/
|
|
|
|
|
module.exports = {
|
|
|
|
|
@ -46,7 +46,7 @@ module.exports = {
|
|
|
|
|
//before: require('./mock/mock-server.js'),
|
|
|
|
|
proxy: {
|
|
|
|
|
[process.env.VUE_APP_BASE_API]: {
|
|
|
|
|
target: 'http://118.31.104.155:8082/',
|
|
|
|
|
target: 'http://yunyubang.ali251.langye.net/',
|
|
|
|
|
changeOrigin: true, //配置跨域
|
|
|
|
|
pathRewrite: {
|
|
|
|
|
['^' + process.env.VUE_APP_BASE_API]: ''
|
|
|
|
|
|