From cad461b1218e1d3668d4d7005032d46d2986f5d3 Mon Sep 17 00:00:00 2001 From: Fred Liang Date: Mon, 25 Dec 2023 04:09:38 +0800 Subject: [PATCH] chore: remove console log --- app/api/google/[...path]/route.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/api/google/[...path]/route.ts b/app/api/google/[...path]/route.ts index 28b9822a5..7911f8483 100644 --- a/app/api/google/[...path]/route.ts +++ b/app/api/google/[...path]/route.ts @@ -49,12 +49,6 @@ async function handle( const bearToken = req.headers.get("Authorization") ?? ""; const token = bearToken.trim().replaceAll("Bearer ", "").trim(); - console.log( - bearToken, - serverConfig.googleApiKey, - token ? token : serverConfig.googleApiKey, - ); - const key = token ? token : serverConfig.googleApiKey; if (!key) { return NextResponse.json(