Update to cater for token URL
This commit is contained in:
parent
0238295654
commit
d957a10f47
2
js/package-lock.json
generated
2
js/package-lock.json
generated
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "parity.js",
|
||||
"name": "Parity",
|
||||
"version": "1.8.17",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
|
@ -279,7 +279,7 @@ export default class SecureApi extends Api {
|
||||
const connectPromise = this._fetchSettings()
|
||||
.then(() => {
|
||||
// Update the URL and token in the transport layer
|
||||
this.transport.url = SecureApi.transportUrl(this._wsUrl, this.protocol);
|
||||
this.transport.url = SecureApi.transportWsUrl(this._wsUrl, this.protocol);
|
||||
this.provider.updateToken(token, false);
|
||||
|
||||
log.debug('connecting with token', token);
|
||||
|
Loading…
Reference in New Issue
Block a user