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:
parent
9ea9a8160b
commit
5f07c74f1a
2 changed files with 2 additions and 0 deletions
|
@ -36640,6 +36640,7 @@ var TextSecureServer = (function() {
|
|||
);
|
||||
},
|
||||
getProvisioningSocket: function () {
|
||||
console.log('opening provisioning socket', this.url);
|
||||
return new WebSocket(
|
||||
this.url.replace('https://', 'wss://')
|
||||
.replace('http://', 'ws://')
|
||||
|
|
|
@ -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://')
|
||||
|
|
Loading…
Reference in a new issue