Skip to content

Commit

Permalink
Merge pull request #2320 from yanCode/main
Browse files Browse the repository at this point in the history
fix: typos
  • Loading branch information
Yidadaa authored Jul 10, 2023
2 parents 300f023 + dd047fd commit 51e816a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/api/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down

0 comments on commit 51e816a

Please sign in to comment.