From efa421f7d7e8ef34cb7dfcd767be53115ff0d38e Mon Sep 17 00:00:00 2001 From: Jiale Date: Fri, 25 Apr 2025 16:16:19 +0800 Subject: [PATCH] =?UTF-8?q?init(=E5=88=9D=E5=A7=8B=E5=8C=96):=20?= =?UTF-8?q?=F0=9F=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- scripts/nginx.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env b/.env index b081852..8ab5370 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ # 端口号 -VITE_PORT = 80 +VITE_PORT = 5000 # 网站标题 VITE_GLOB_APP_TITLE = 预警诊断系统 diff --git a/scripts/nginx.conf b/scripts/nginx.conf index 6bca1e7..caf2d4f 100644 --- a/scripts/nginx.conf +++ b/scripts/nginx.conf @@ -33,7 +33,7 @@ http { } # 代理 API 请求到后端容器 - location /api/ { + location /admin-api/ { proxy_pass http://127.0.0.1:48080; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr;