Yifei Zhang 1 year ago
parent
commit
469c8e9b00
1 changed files with 0 additions and 1 deletions
  1. 0 1
      middleware.ts

+ 0 - 1
middleware.ts

@@ -31,7 +31,6 @@ export function middleware(req: NextRequest) {
   // inject api key
   if (!token) {
     const apiKey = process.env.OPENAI_API_KEY;
-    console.log("apiKey", apiKey);
     if (apiKey) {
       req.headers.set("token", apiKey);
     } else {