add tls
This commit is contained in:
Vendored
+1
-1
@@ -339,7 +339,7 @@
|
||||
setTimeout(connect, 2e3);
|
||||
};
|
||||
function connect() {
|
||||
UDN.connect(`ws://${window.location.host}`);
|
||||
UDN.connect(`wss://${window.location.host}`);
|
||||
}
|
||||
connect();
|
||||
var isDisconnected = new State(true);
|
||||
|
||||
@@ -33,7 +33,7 @@ UDN.ondisconnect = () => {
|
||||
};
|
||||
|
||||
function connect() {
|
||||
UDN.connect(`ws://${window.location.host}`);
|
||||
UDN.connect(`wss://${window.location.host}`);
|
||||
}
|
||||
connect();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user