forked from angelo/web-retail-admin
chore(env): update env
This commit is contained in:
parent
8f9732b6be
commit
62270b9d73
|
@ -2,4 +2,4 @@
|
||||||
ENV = 'development'
|
ENV = 'development'
|
||||||
|
|
||||||
VUE_APP_BASE_API = '/prod-api'
|
VUE_APP_BASE_API = '/prod-api'
|
||||||
VUE_APP_ADDRESS1 = 'http://t-app.beida777.com/#/'
|
VUE_APP_ADDRESS1 = 'http://bl-app.beida777.com/#/'
|
||||||
|
|
|
@ -3,4 +3,5 @@ ENV = 'production'
|
||||||
|
|
||||||
# base api
|
# base api
|
||||||
VUE_APP_BASE_API = '/prod-api'
|
VUE_APP_BASE_API = '/prod-api'
|
||||||
VUE_APP_ADDRESS1 = 'http://t-app.beida777.com/#/'
|
VUE_APP_ADDRESS1 = 'http://bl-app.beida777.com/#/'
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"name": "vue-admin-template",
|
"name": "vue-admin-template",
|
||||||
"version": "4.4.0",
|
"version": "4.4.0",
|
||||||
"description": "A vue admin template with Element UI & axios & iconfont & permission control & lint",
|
"description": "A vue admin template with Element UI & axios & iconfont & permission control & lint",
|
||||||
"author": "Pan <panfree23@gmail.com>",
|
"author": "windsword",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vue-cli-service serve",
|
"dev": "vue-cli-service serve",
|
||||||
"build:prod": "vue-cli-service build",
|
"build:prod": "vue-cli-service build",
|
||||||
|
|
|
@ -36,7 +36,7 @@ module.exports = {
|
||||||
lintOnSave: false,
|
lintOnSave: false,
|
||||||
productionSourceMap: false,
|
productionSourceMap: false,
|
||||||
devServer: {
|
devServer: {
|
||||||
port: 9555,
|
port: 9655,
|
||||||
open: true,
|
open: true,
|
||||||
overlay: {
|
overlay: {
|
||||||
warnings: false,
|
warnings: false,
|
||||||
|
@ -44,7 +44,7 @@ module.exports = {
|
||||||
},
|
},
|
||||||
proxy: {
|
proxy: {
|
||||||
'/prod-api': {
|
'/prod-api': {
|
||||||
target: 'http://localhost:8080',
|
target: 'http://t-blma.beida777.com/prod-api',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: { '^/prod-api': '' }
|
pathRewrite: { '^/prod-api': '' }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue