Explorar o código

chore: remove console log

Fred Liang %!s(int64=2) %!d(string=hai) anos
pai
achega
cad461b121
Modificáronse 1 ficheiros con 0 adicións e 6 borrados
  1. 0 6
      app/api/google/[...path]/route.ts

+ 0 - 6
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(