chore(env): update i18n
This commit is contained in:
parent
1b54cc0b03
commit
81f63a2d98
|
@ -1,10 +1,10 @@
|
||||||
# just a flag
|
# just a flag
|
||||||
ENV = 'development'
|
ENV = 'development'
|
||||||
# base api
|
# base api
|
||||||
# VUE_APP_BASE_API = 'http://f.hzs413.com/inter-api'
|
# VUE_APP_BASE_API = '/prod-api'
|
||||||
VUE_APP_ADDRESS = 'http://f.hzs413.com/'
|
VUE_APP_ADDRESS = 'http://f.hzs413.com/'
|
||||||
VUE_APP_BASE_INTERAPI = 'https://dny-test.s3.ap-southeast-1.amazonaws.com/online/language'
|
VUE_APP_BASE_INTERAPI = 'https://bd-qd.oss-cn-beijing.aliyuncs.com/test_africa/language'
|
||||||
VUE_APP_BASE_INTERAPI2 = 'http://f.hzs413.com/language'
|
VUE_APP_BASE_INTERAPI2 = 'http://f.hzs413.com/language'
|
||||||
|
|
||||||
|
|
||||||
VUE_APP_BASE_API = 'http://localhost:8080'
|
VUE_APP_BASE_API = '/prod-api'
|
||||||
|
|
|
@ -8,7 +8,7 @@ ENV = 'production'
|
||||||
# VUE_APP_BASE_INTERAPI2 = 'https://dny-test.s3.ap-southeast-1.amazonaws.com/test/language'
|
# VUE_APP_BASE_INTERAPI2 = 'https://dny-test.s3.ap-southeast-1.amazonaws.com/test/language'
|
||||||
|
|
||||||
|
|
||||||
VUE_APP_BASE_API = 'http://13.247.98.15/inter-api'
|
VUE_APP_BASE_API = '/prod-api'
|
||||||
VUE_APP_ADDRESS = 'http://13.247.98.15/'
|
VUE_APP_ADDRESS = 'http://13.247.98.15/'
|
||||||
VUE_APP_BASE_INTERAPI = 'https://dny-test.s3.ap-southeast-1.amazonaws.com/test/language'
|
VUE_APP_BASE_INTERAPI = 'https://dny-test.s3.ap-southeast-1.amazonaws.com/test/language'
|
||||||
VUE_APP_BASE_INTERAPI2 = 'https://dny-test.s3.ap-southeast-1.amazonaws.com/test/language'
|
VUE_APP_BASE_INTERAPI2 = 'https://dny-test.s3.ap-southeast-1.amazonaws.com/test/language'
|
||||||
|
|
|
@ -74,4 +74,4 @@
|
||||||
"npm": ">= 3.0.0"
|
"npm": ">= 3.0.0"
|
||||||
},
|
},
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,13 +30,20 @@ module.exports = {
|
||||||
lintOnSave: false,
|
lintOnSave: false,
|
||||||
productionSourceMap: false,
|
productionSourceMap: false,
|
||||||
devServer: {
|
devServer: {
|
||||||
port: port,
|
port: 30188,
|
||||||
open: true,
|
open: true,
|
||||||
overlay: {
|
overlay: {
|
||||||
warnings: false,
|
warnings: false,
|
||||||
errors: true
|
errors: true
|
||||||
},
|
},
|
||||||
before: require('./mock/mock-server.js')
|
proxy: {
|
||||||
|
'/prod-api': {
|
||||||
|
target: 'http://192.168.0.86:8080',
|
||||||
|
changeOrigin: true,
|
||||||
|
pathRewrite: { '^/prod-api': '' }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// before: require('./mock/mock-server.js')
|
||||||
},
|
},
|
||||||
configureWebpack: {
|
configureWebpack: {
|
||||||
// provide the app's title in webpack's name field, so that
|
// provide the app's title in webpack's name field, so that
|
||||||
|
@ -52,7 +59,7 @@ module.exports = {
|
||||||
'zhCN': 'zhCN',
|
'zhCN': 'zhCN',
|
||||||
'zhTC': 'zhTC',
|
'zhTC': 'zhTC',
|
||||||
'ruRU': 'ruRU',
|
'ruRU': 'ruRU',
|
||||||
'frFR': 'frFR',
|
'frFR': 'frFR'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
chainWebpack(config) {
|
chainWebpack(config) {
|
||||||
|
|
Loading…
Reference in New Issue