From eae7222a904386bfd26cc4d7df8d7a29824e05f1 Mon Sep 17 00:00:00 2001 From: chenze <1824191732@qq.com> Date: Tue, 27 Aug 2024 17:18:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 ++-- vue.config.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.env.development b/.env.development index 7b50b84..1be8d2a 100644 --- a/.env.development +++ b/.env.development @@ -1,4 +1,4 @@ NODE_ENV=development VUE_APP_PREVIEW=true -VUE_APP_API_BASE_URL=https://www.chuangzhikj.com/saas-ics -VUE_APP_MODEL_BASE_URL=https://www.chuangzhikj.com/saas-ics \ No newline at end of file +VUE_APP_API_BASE_URL=/api +VUE_APP_MODEL_BASE_URL=http://127.0.0.1:8080 \ No newline at end of file diff --git a/vue.config.js b/vue.config.js index 76abbd5..e7bebf3 100644 --- a/vue.config.js +++ b/vue.config.js @@ -108,8 +108,8 @@ const vueConfig = { port: 8000, proxy: { '/api': { - // target: 'http://192.168.0.30:9227', - target: 'https://www.chuangzhikj.com/saas-ics', + target: 'http://192.168.0.30:9227', + // target: 'https://www.chuangzhikj.com/saas-ics', pathRewrite: { '^/api': '' }, ws: false, changeOrigin: true