Browse Source

测试web-1

main
沈训 4 months ago
parent
commit
4d858d9a57
  1. 2
      .env.development
  2. 2
      vue.config.js

2
.env.development

@ -5,7 +5,7 @@ VUE_APP_TITLE = Coin后台管理系统
ENV = 'development'
# 若依管理系统/开发环境
VUE_APP_BASE_API = '/dev-api'
VUE_APP_BASE_API = 'http://8.137.52.68:8081'
# 应用访问路径 例如使用前缀 /admin/
VUE_APP_CONTEXT_PATH = '/'

2
vue.config.js

@ -35,7 +35,7 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `http://localhost:8081`,
target: `http://8.137.52.68:8081`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''

Loading…
Cancel
Save