From fcdc55cbf78bd89734ebf5b9ae636c127122090b Mon Sep 17 00:00:00 2001 From: niefei Date: Wed, 11 Jun 2025 10:32:11 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 2 +- vue.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.production b/.env.production index e9d1133..f9dfcbf 100644 --- a/.env.production +++ b/.env.production @@ -7,7 +7,7 @@ ENV = 'production' # 若依管理系统/生产环境 # TODO: 请修改为您的服务器地址 # VUE_APP_BASE_API = 'http://8.137.52.68:8081' -VUE_APP_BASE_API = 'http://127.0.0.1:8081' +VUE_APP_BASE_API = 'http://api.lfpaylaos.com' # VUE_APP_BASE_API = '/prod-api' # 应用访问路径 例如使用前缀 /admin/ diff --git a/vue.config.js b/vue.config.js index 5316931..b5d089d 100644 --- a/vue.config.js +++ b/vue.config.js @@ -36,7 +36,7 @@ module.exports = { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { // target: `http://8.137.52.68:8081`, - target: `http://43.252.245.60:90`, + target: process.env.VUE_APP_BASE_API, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: ''