From 5b7cc99306662c3d81a4271b1b375a762cb916fa Mon Sep 17 00:00:00 2001 From: qikongjian Date: Sat, 20 Sep 2025 19:50:18 +0800 Subject: [PATCH] =?UTF-8?q?1.=E8=B0=B7=E6=AD=8C=E7=99=BB=E5=BD=95=E5=9B=9E?= =?UTF-8?q?java=E6=8E=A5=E5=8F=A3=E5=9C=B0=E5=9D=80=E6=9B=B4=E6=8D=A22.goo?= =?UTF-8?q?gleClientSecret=E7=9A=84key=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 2 +- app/api/auth/google/callback/route.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.production b/.env.production index b9c0e25..1c3f3c1 100644 --- a/.env.production +++ b/.env.production @@ -1,6 +1,6 @@ # 临时使用旧域名配置,等待后端更新 -NEXT_PUBLIC_JAVA_URL = https://77.app.java.auth.qikongjian.com +NEXT_PUBLIC_JAVA_URL = https://auth.test.movieflow.ai NEXT_PUBLIC_BASE_URL = https://77.smartvideo.py.qikongjian.com NEXT_PUBLIC_CUT_URL = https://77.smartcut.py.qikongjian.com # NEXT_PUBLIC_JAVA_URL = https://auth.movieflow.ai diff --git a/app/api/auth/google/callback/route.ts b/app/api/auth/google/callback/route.ts index f8fe28b..a938e27 100644 --- a/app/api/auth/google/callback/route.ts +++ b/app/api/auth/google/callback/route.ts @@ -44,7 +44,7 @@ export async function POST(request: NextRequest) { // 第一步:使用authorization code向Google换取access token和id_token const googleClientId = '847079918888-o1nne8d3ij80dn20qurivo987pv07225.apps.googleusercontent.com'; - const googleClientSecret = process.env.GOOGLE_CLIENT_SECRET; // 需要设置环境变量 + const googleClientSecret = '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'; // 需要设置环境变量 if (!googleClientSecret) { console.error('Google Client Secret未配置');