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:":
|
||||
this.protocol = "ws://";
|
||||
break;
|
||||
case "https://":
|
||||
case "https:":
|
||||
this.protocol = "wss://";
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user