Merge pull request #6 from hexrus/patch-1

Error in http/https detection.
This commit is contained in:
marmei
2019-08-09 09:19:14 +02:00
committed by GitHub

View File

@@ -16,7 +16,7 @@ var Server = /** @class */ (function () {
case "http:":
this.protocol = "ws://";
break;
case "https://":
case "https:":
this.protocol = "wss://";
break;
}