forked from XiaoMo/ChatGPT-Next-Web
chore: remove console log
This commit is contained in:
parent
5af68ac545
commit
cad461b121
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user