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",
|
"version": "1.8.17",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
|
@ -279,7 +279,7 @@ export default class SecureApi extends Api {
|
|||||||
const connectPromise = this._fetchSettings()
|
const connectPromise = this._fetchSettings()
|
||||||
.then(() => {
|
.then(() => {
|
||||||
// Update the URL and token in the transport layer
|
// 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);
|
this.provider.updateToken(token, false);
|
||||||
|
|
||||||
log.debug('connecting with token', token);
|
log.debug('connecting with token', token);
|
||||||
|
Loading…
Reference in New Issue
Block a user