3
0
Fork 0

chore(env): update env

This commit is contained in:
woody 2025-06-20 16:20:46 +08:00
parent 8f9732b6be
commit 62270b9d73
4 changed files with 7 additions and 6 deletions

View File

@ -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/#/'

View File

@ -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/#/'

View File

@ -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",

View File

@ -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': '' }
} }