diff --git a/docs/3.adapters/bun.md b/docs/3.adapters/bun.md index 0cc3ed4f..18a39d3c 100644 --- a/docs/3.adapters/bun.md +++ b/docs/3.adapters/bun.md @@ -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);