mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
fix: Use encrypted field to check for TLS.
This commit is contained in:
committed by
Joachim Van Herwegen
parent
bc088f494d
commit
82f90709a6
@@ -25,7 +25,7 @@ describe('An UnsecureWebSocketsProtocol', (): void => {
|
||||
'sec-websocket-protocol': 'solid-0.1, other/1.0.0',
|
||||
},
|
||||
socket: {
|
||||
secure: true,
|
||||
encrypted: true,
|
||||
},
|
||||
} as any as HttpRequest;
|
||||
await protocol.handle({ webSocket, upgradeRequest } as any);
|
||||
|
||||
Reference in New Issue
Block a user