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未配置');