chore: remove console log

This commit is contained in:
Fred Liang 2023-12-25 04:09:38 +08:00
parent 5af68ac545
commit cad461b121
No known key found for this signature in database
GPG Key ID: 4DABDA85EF70EC71

View File

@ -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(