Skip to content

Commit da464c3

Browse files
committed
docs: update bun ws example
1 parent 5ff5be9 commit da464c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/3.adapters/bun.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ bun --bun ./server.mjs
4646
:read-more{to="https://crossws.unjs.io/adapters/bun"}
4747

4848
```ts
49-
import wsAdapter from "crossws/adapters/cloudflare";
49+
import wsAdapter from "crossws/adapters/bun";
5050

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

0 commit comments

Comments
 (0)