From 51baecdf8d6b7baf069e65c67988fa2ed1ce648c Mon Sep 17 00:00:00 2001 From: Xin Wang Date: Mon, 30 Jun 2025 20:46:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E5=9B=9E=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/auth.ts b/lib/auth.ts index c62408a..581b44c 100644 --- a/lib/auth.ts +++ b/lib/auth.ts @@ -1,7 +1,7 @@ // Mock Google OAuth configuration const GOOGLE_CLIENT_ID = '1016208801816-qtvcvki2jobmcin1g4e7u4sotr0p8g3u.apps.googleusercontent.com'; const GOOGLE_REDIRECT_URI = typeof window !== 'undefined' - ? 'https://movieflow.api.huiying.video/oauth/callback' + ? `${window.location.origin}/api/auth/google/callback` : ''; /**