hzruo commited on
Commit
b2a4ac7
·
verified ·
1 Parent(s): 8c19990

Update main.ts

Browse files
Files changed (1) hide show
  1. main.ts +3 -0
main.ts CHANGED
@@ -393,6 +393,9 @@ function verifyApiKey(request: Request) {
393
  }
394
 
395
  if (authorization !== VALID_API_KEY) {
 
 
 
396
  return new Response(JSON.stringify({ error: 'Invalid API key' }), {
397
  status: 401,
398
  headers: {
 
393
  }
394
 
395
  if (authorization !== VALID_API_KEY) {
396
+ console.log(authorization)
397
+ console.log("----")
398
+ console.log(VALID_API_KEY)
399
  return new Response(JSON.stringify({ error: 'Invalid API key' }), {
400
  status: 401,
401
  headers: {