Skip to content

Commit ab55035

Browse files
committed
Use Secure WebSocket
Resolution for CLN-001.
1 parent b1b22ab commit ab55035

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

solid/lib/Notifications/SolidPubSub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public function __construct($pubsubUrl) {
1212
}
1313

1414
public function send($path, $type) {
15-
$pubsub = str_replace(["https://", "http://"], "ws://", $this->pubsub);
15+
$pubsub = str_replace(["https://", "http://"], "wss://", $this->pubsub);
1616

1717
$client = new Client($pubsub, array(
1818
'headers' => array(

0 commit comments

Comments
 (0)