From 00ec32456c0ec667cb64486b17576b2944684c27 Mon Sep 17 00:00:00 2001 From: hexrus <36073186+hexrus@users.noreply.github.com> Date: Fri, 9 Aug 2019 09:53:55 +0300 Subject: [PATCH] Error in http/https detection. window.location.protocol return "https:", not "https://" --- html/js/network_ts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/js/network_ts.js b/html/js/network_ts.js index 60af0eb..916e819 100644 --- a/html/js/network_ts.js +++ b/html/js/network_ts.js @@ -16,7 +16,7 @@ var Server = /** @class */ (function () { case "http:": this.protocol = "ws://"; break; - case "https://": + case "https:": this.protocol = "wss://"; break; }