bunrest
bunrest copied to clipboard
websocket fails
websocket api fails, I think it might need this to work properly again https://github.com/lau1944/bunrest/blob/09e27426e081f61f8a9914518c80e9438875aba6/src/server/server.ts#L149
const success = server.upgrade(req1); if (success) { // Bun automatically returns a 101 Switching Protocols // if the upgrade succeeds return undefined; }