mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
feat: Warn about UnsecureWebSocketsProtocol.
This commit is contained in:
committed by
Joachim Van Herwegen
parent
238570b3d2
commit
5c218193ab
@@ -123,6 +123,10 @@ export class UnsecureWebSocketsProtocol extends WebSocketHandler {
|
||||
|
||||
public constructor(source: EventEmitter) {
|
||||
super();
|
||||
|
||||
this.logger.warn('The chosen configuration includes Solid WebSockets API 0.1, which is unauthenticated.');
|
||||
this.logger.warn('This component will be removed from default configurations in future versions.');
|
||||
|
||||
source.on('changed', (changed: ResourceIdentifier): void => this.onResourceChanged(changed));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user