up version

This commit is contained in:
2019-05-24 16:04:36 +03:00
parent 50a0cee044
commit 94b19a1c26
3 changed files with 5 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ class JsConnection<O:Message, I:Message> extends BaseConnection<O, I> {
}
public static function isSecured():Bool {
return Browser.location.protocol == "https";
return Browser.location.protocol == "https:";
}
private function buildSocket(host:String, port:Int):WebSocket {