Merge pull request #6 from hexrus/patch-1
Error in http/https detection.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user