diff --git a/packages/backend/src/server/api/streaming.ts b/packages/backend/src/server/api/streaming.ts index b7b40ca84..0f656f081 100644 --- a/packages/backend/src/server/api/streaming.ts +++ b/packages/backend/src/server/api/streaming.ts @@ -40,7 +40,7 @@ export const initializeStreamingServer = (server: http.Server) => { return; } - const connection = request.accept(); + const connection = request.accept(request.requestedProtocols[0] ?? undefined); const ev = new EventEmitter();