From bf1b77cf9b80e1979c989cb611e74d01c66255a4 Mon Sep 17 00:00:00 2001 From: aliirz Date: Wed, 13 Nov 2024 14:26:03 +0500 Subject: [PATCH] brute forre --- app/api/auth/userinfo/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/auth/userinfo/route.ts b/app/api/auth/userinfo/route.ts index 38156dc..65e2f32 100644 --- a/app/api/auth/userinfo/route.ts +++ b/app/api/auth/userinfo/route.ts @@ -8,7 +8,7 @@ const allowedOrigin = process.env.NODE_ENV === 'production' export async function OPTIONS() { return new NextResponse(null, { headers: { - 'Access-Control-Allow-Origin': allowedOrigin, + 'Access-Control-Allow-Origin': "*", 'Access-Control-Allow-Methods': 'GET, OPTIONS', 'Access-Control-Allow-Headers': 'Content-Type, Authorization', },