From a8fac4a404448fd7ba8aab6fcbd57a41bc00178f Mon Sep 17 00:00:00 2001 From: pengda <10266652509@qq.com> Date: Thu, 24 Apr 2025 17:11:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E8=A1=8C=E6=A6=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 1 + .env.production | 2 +- vue.config.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .env.development diff --git a/.env.development b/.env.development new file mode 100644 index 0000000..71001b6 --- /dev/null +++ b/.env.development @@ -0,0 +1 @@ +VUE_APP_BASE_API=http://adm.pengda.checkcopy.com/api \ No newline at end of file diff --git a/.env.production b/.env.production index 31c4e99..71001b6 100644 --- a/.env.production +++ b/.env.production @@ -1 +1 @@ -VUE_APP_BASE_API=http://adminnew.pengda.checkcopy.com \ No newline at end of file +VUE_APP_BASE_API=http://adm.pengda.checkcopy.com/api \ No newline at end of file diff --git a/vue.config.js b/vue.config.js index a54b5c0..9bcc9ff 100755 --- a/vue.config.js +++ b/vue.config.js @@ -4,7 +4,7 @@ module.exports = { devServer: { proxy: { '/supernew': { - target: 'http://adminnew.pengda.checkcopy.com', + target: 'http://adm.pengda.checkcopy.com/api', changeOrigin: true, } }