|
@@ -282,7 +282,7 @@ function init(protocols) {
|
|
|
// TODO: this sucks, the property should exist on the prototype
|
|
|
// but it does not.
|
|
|
try {
|
|
|
- if (bt && ('binaryType' in (new WebSocket("ws://localhost:17523")))) {
|
|
|
+ if (bt && ('binaryType' in (new WebSocket("wss://localhost:17523")))) {
|
|
|
Util.Info("Detected binaryType support in WebSockets");
|
|
|
wsbt = true;
|
|
|
}
|