Browse Source

fix: typos

ShengYan, Zhang 1 year ago
parent
commit
dd047fd58f
1 changed files with 1 additions and 2 deletions
  1. 1 2
      app/api/common.ts

+ 1 - 2
app/api/common.ts

@@ -78,8 +78,7 @@ export async function requestOpenai(req: NextRequest) {
     // to prevent browser prompt for credentials
     const newHeaders = new Headers(res.headers);
     newHeaders.delete("www-authenticate");
-
-    // to disbale ngnix buffering
+    // to disable nginx buffering
     newHeaders.set("X-Accel-Buffering", "no");
 
     return new Response(res.body, {