rev:代码优化
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
window.g = {
|
||||
dev: {
|
||||
VUE_APP_BASE_API: '/'
|
||||
VUE_APP_BASE_API: 'http://10.118.33.115:8010'
|
||||
},
|
||||
prod: {
|
||||
VUE_APP_BASE_API: 'http://127.0.0.1:8010'
|
||||
VUE_APP_BASE_API: 'http://10.118.33.115:8010'
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -19,6 +19,8 @@ module.exports = {
|
||||
lintOnSave: process.env.NODE_ENV === 'development',
|
||||
productionSourceMap: false,
|
||||
devServer: {
|
||||
allowedHosts: ['all'],
|
||||
disableHostCheck: true,
|
||||
port: port,
|
||||
open: true,
|
||||
overlay: {
|
||||
|
||||
Reference in New Issue
Block a user