From ecf9ba562370a449a5b8786e00b1e0a3bca55615 Mon Sep 17 00:00:00 2001 From: wood chen Date: Mon, 3 Mar 2025 06:57:39 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8C=96=E4=B8=80=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/actions/authorizing.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/actions/authorizing.ts b/src/actions/authorizing.ts index 101b612..3e78602 100644 --- a/src/actions/authorizing.ts +++ b/src/actions/authorizing.ts @@ -143,12 +143,6 @@ export async function handleAuthorizeAction( const oauthParams = new URLSearchParams(atob(oauth)); const redirectUrl = getAuthorizeUrl(oauthParams); - // 刷新相关页面 - revalidatePath("/dashboard"); - revalidatePath(`/dashboard/clients/${clientId}`); - revalidatePath("/admin/clients"); - revalidatePath(`/admin/clients/${clientId}`); - return { redirectUrl }; } catch (error) { console.error("授权处理失败:", error);