|
|
|
|
@ -6,7 +6,7 @@ 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.
|
|
|
|
|
@ -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: 'https://sishitongtang.langye.net/',
|
|
|
|
|
changeOrigin: true, //配置跨域
|
|
|
|
|
pathRewrite: {
|
|
|
|
|
['^' + process.env.VUE_APP_BASE_API]: ''
|
|
|
|
|
|