fix getting params from upload field
This commit is contained in:
parent
3ddbe0ea3d
commit
f7ac654d92
|
@ -81,7 +81,7 @@ class IPFS {
|
|||
|
||||
_getNodeUrl() {
|
||||
if (this.storageConfig.upload.provider === 'ipfs') {
|
||||
let { protocol, host, port } = this.storageConfig.upload.provider;
|
||||
let { protocol, host, port } = this.storageConfig.upload;
|
||||
return (protocol || 'http') + '://' + host + ':' + port + '/api/v0/version';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue