From cf84b8336f8130c2bda49f526311e66cf618efbb Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Tue, 26 May 2026 01:01:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=AB=E6=8F=8F=20worker=20=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=80=BC=206=E2=86=928=EF=BC=8C=E4=B8=8A=E9=99=90=208?= =?UTF-8?q?=E2=86=9212=EF=BC=88=E9=80=82=E9=85=8D=208GB=20=E5=86=85?= =?UTF-8?q?=E5=AD=98=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/.env.local | 3 +- frontend/components/auth/LoginClient.tsx | 278 +++++++++++++++-------- web/services/scan_ai_config.py | 4 +- 3 files changed, 181 insertions(+), 104 deletions(-) diff --git a/frontend/.env.local b/frontend/.env.local index 4abb196a..b0a29deb 100644 --- a/frontend/.env.local +++ b/frontend/.env.local @@ -9,7 +9,8 @@ POLYWEATHER_API_BASE_URL=http://127.0.0.1:8000 # 在 Vercel 免费额度下建议配置为 VPS HTTPS 域名,让 AI / METAR / scan 等 # 长耗时请求绕过 Vercel Functions / Fluid Compute。 # 例如:https://api.example.com -NEXT_PUBLIC_POLYWEATHER_API_BASE_URL=http://38.54.27.70:8080 +# 本地开发时注释掉,让 Next.js API Route 代理请求,避免 CORS 问题 +# NEXT_PUBLIC_POLYWEATHER_API_BASE_URL=http://38.54.27.70:8080 # 必填:Supabase 前端公钥(鉴权开启时必须) NEXT_PUBLIC_SUPABASE_URL= diff --git a/frontend/components/auth/LoginClient.tsx b/frontend/components/auth/LoginClient.tsx index 8b2448b9..dabe0420 100644 --- a/frontend/components/auth/LoginClient.tsx +++ b/frontend/components/auth/LoginClient.tsx @@ -236,33 +236,35 @@ export function LoginClient({ nextPath, initialMode }: LoginClientProps) { }; return ( -
-
+
+
+ - {copy.subtitle} -
++ {copy.subtitle} +
+