From 1c4a08612417fca7805bcc4d3c099ca2b31d6d57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B9=98=E9=A3=8E?= Date: Mon, 9 Feb 2026 19:31:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=BC=80=E5=8F=91=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E9=85=8D=E7=BD=AE=EF=BC=8C=E5=88=87=E6=8D=A2=20API=20?= =?UTF-8?q?=E5=9F=BA=E7=A1=80=20URL=20=E8=87=B3=E6=9C=AC=E5=9C=B0=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=EF=BC=8C=E5=B9=B6=E8=B0=83=E6=95=B4=E5=BC=80=E5=85=B3?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E7=9A=84=E6=A0=B7=E5=BC=8F=E4=BB=A5=E6=94=B9?= =?UTF-8?q?=E5=96=84=E7=94=A8=E6=88=B7=E4=BA=A4=E4=BA=92=E4=BD=93=E9=AA=8C?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- soul-admin/.env.development | 4 ++-- soul-admin/src/components/ui/switch.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/soul-admin/.env.development b/soul-admin/.env.development index d75aede3..610a77c7 100644 --- a/soul-admin/.env.development +++ b/soul-admin/.env.development @@ -1,6 +1,6 @@ # 对接后端 base URL(不改 API 路径,仅改此处即可切换 Next → Gin) # 宝塔部署:若 API 站点开启了强制 HTTPS,这里必须用 https,否则预检请求会被重定向导致 CORS 报错 # VITE_API_BASE_URL=http://localhost:3006 -# VITE_API_BASE_URL=http://localhost:8080 -VITE_API_BASE_URL=https://soulapi.quwanzhi.com +VITE_API_BASE_URL=http://localhost:8080 +# VITE_API_BASE_URL=https://soulapi.quwanzhi.com diff --git a/soul-admin/src/components/ui/switch.tsx b/soul-admin/src/components/ui/switch.tsx index 9eaca406..ec236353 100644 --- a/soul-admin/src/components/ui/switch.tsx +++ b/soul-admin/src/components/ui/switch.tsx @@ -8,7 +8,7 @@ const Switch = React.forwardRef< >(({ className, ...props }, ref) => (