mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-06 17:36:44 +08:00
回滚配置
This commit is contained in:
2
.env
2
.env
@@ -9,7 +9,7 @@ VUE_APP_PROXY_URL=//43.143.139.204/manageApi
|
||||
# 登录url
|
||||
VUE_APP_LOGIN_URL=//u-pre.boe.com/web
|
||||
# boe域名
|
||||
VUE_APP_BOE_API_URL=https://u-pre.boe.com
|
||||
VUE_APP_BOE_API_URL=//u-pre.boe.com
|
||||
#打包路径
|
||||
VUE_APP_OUTPUT_DIR=./dist
|
||||
|
||||
|
||||
@@ -12,16 +12,16 @@ module.exports = defineConfig({
|
||||
publicPath: process.env.VUE_APP_BASE,
|
||||
outputDir: process.env.VUE_APP_OUTPUT_DIR,
|
||||
devServer: {
|
||||
port: 8080,
|
||||
port: 8070,
|
||||
proxy: {
|
||||
"/manageApi": {
|
||||
target: "http://localhost:30001",
|
||||
target: 'http:' + process.env.VUE_APP_PROXY_URL,
|
||||
changeOrigin: true, //表示是否改变原域名
|
||||
pathRewrite: {
|
||||
"^/manageApi": "",
|
||||
},
|
||||
}, "/userbasic": {
|
||||
target: process.env.VUE_APP_BOE_API_URL,
|
||||
target: 'https:' + process.env.VUE_APP_BOE_API_URL,
|
||||
changeOrigin: true, //表示是否改变原域名
|
||||
},
|
||||
"/systemapi": {
|
||||
|
||||
Reference in New Issue
Block a user