We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e18349 commit 28c63e2Copy full SHA for 28c63e2
src/server/http-combo-server.ts
@@ -193,7 +193,7 @@ export async function createComboServer(options: ComboServerOptions): Promise<De
193
if (preferredProtocol) return preferredProtocol;
194
195
// If the client only offers protocols that we don't understand, shrug and accept:
196
- else return clientProtocols[1];
+ else return clientProtocols[0];
197
}
198
} : {
199
// In Node versions without ALPNCallback, we just set preferences directly:
0 commit comments