Skip to content

Commit

Permalink
docs: update bun
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Feb 24, 2024
1 parent a486f45 commit 0c717d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/2.adapters/bun.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Bun.serve({
port: 3000,
websocket,
fetch(req, server) {
if (handleUpgrade(req, server)) {
if (await handleUpgrade(req, server)) {
return;
}
return new Response(
Expand Down

0 comments on commit 0c717d8

Please sign in to comment.