From 1039bee69de50522fe25b90d0081cf93e2c611ae Mon Sep 17 00:00:00 2001 From: liuchen <23082234@qq.com> Date: Mon, 5 Feb 2024 17:06:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AB=AF=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.test | 8 ++++---- nginx.conf | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.env.test b/.env.test index f30dd59..b545640 100644 --- a/.env.test +++ b/.env.test @@ -4,10 +4,10 @@ NODE_ENV=test VITE_DEV=false # 请求路径 -VITE_BASE_URL='http://dev.ccwin-in.com:27210/api' +VITE_BASE_URL='http://dev.ccwin-in.com:27019/api' # 上传路径 -VITE_UPLOAD_URL='http://dev.ccwin-in.com:27210/api/admin-api/infra/file/upload' +VITE_UPLOAD_URL='http://dev.ccwin-in.com:27019/api/admin-api/infra/file/upload' # 接口前缀 VITE_API_BASEPATH= @@ -31,7 +31,7 @@ VITE_BASE_PATH=/ VITE_OUT_DIR=huatao-spc # 自定义接口路径 -VITE_INTERFACE_URL='http://dev.ccwin-in.com:27210/magic/web/index.html' +VITE_INTERFACE_URL='http://dev.ccwin-in.com:27019/magic/web/index.html' # 积木报表请求路径 -VITE_JMREPORT_BASE_URL='http://dev.ccwin-in.com:27210' +VITE_JMREPORT_BASE_URL='http://dev.ccwin-in.com:27019' diff --git a/nginx.conf b/nginx.conf index 0e12445..9e1f791 100644 --- a/nginx.conf +++ b/nginx.conf @@ -27,10 +27,10 @@ http { gzip_vary on; gzip_disable "MSIE [1-6]\."; upstream zhucheng { - server localhost:27210 weight=10 max_fails=3 fail_timeout=10s; + server localhost:27019 weight=10 max_fails=3 fail_timeout=10s; } server { - listen 27200; + listen 27010; server_name_in_redirect off; server_name dev.ccwin-in.com; location /api/ {