diff --git a/src/adapter/cloudflare-workers/websocket.ts b/src/adapter/cloudflare-workers/websocket.ts index d4a9f1218..c7b982659 100644 --- a/src/adapter/cloudflare-workers/websocket.ts +++ b/src/adapter/cloudflare-workers/websocket.ts @@ -43,6 +43,7 @@ export const upgradeWebSocket: UpgradeWebSocket = (createEvents) => async (c, ne // @ts-expect-error - server.accept is not typed server.accept?.() return new Response(null, { + status: 101, // @ts-expect-error - webSocket is not typed webSocket: client, })