Skip to content

Commit

Permalink
docs: update bun ws example
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Feb 25, 2024
1 parent 5ff5be9 commit da464c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/3.adapters/bun.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ bun --bun ./server.mjs
:read-more{to="https://crossws.unjs.io/adapters/bun"}

```ts
import wsAdapter from "crossws/adapters/cloudflare";
import wsAdapter from "crossws/adapters/bun";

const { websocket, handleUpgrade } = wsAdapter(app.websocket);

Expand Down

0 comments on commit da464c3

Please sign in to comment.