Add log statement when opening provisioning socket
Make it more obvious via logs which server someone is attempting to register with (i.e., to disambiguate staging from prod). // FREEBIE
This commit is contained in:
@@ -359,6 +359,7 @@ var TextSecureServer = (function() {
|
||||
);
|
||||
},
|
||||
getProvisioningSocket: function () {
|
||||
console.log('opening provisioning socket', this.url);
|
||||
return new WebSocket(
|
||||
this.url.replace('https://', 'wss://')
|
||||
.replace('http://', 'ws://')
|
||||
|
Reference in New Issue
Block a user