From 4d858d9a5722dbf4725f91491616e0e07214f5de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E8=AE=AD?= <11929933+shen_xun@user.noreply.gitee.com> Date: Sat, 8 Mar 2025 14:43:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95web-1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- vue.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.development b/.env.development index 8c22603..3cd3adb 100644 --- a/.env.development +++ b/.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 = '/' diff --git a/vue.config.js b/vue.config.js index e6384c6..73e84de 100644 --- a/vue.config.js +++ b/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]: ''