mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24:24 +00:00
fix getting params from upload field
This commit is contained in:
parent
fcd1a4df99
commit
082d7c879a
@ -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…
x
Reference in New Issue
Block a user