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:": case "http:":
this.protocol = "ws://"; this.protocol = "ws://";
break; break;
case "https://": case "https:":
this.protocol = "wss://"; this.protocol = "wss://";
break; break;
} }