diff --git a/src/core/components/files.js b/src/core/components/files.js index 400b515473..009e1229ad 100644 --- a/src/core/components/files.js +++ b/src/core/components/files.js @@ -296,6 +296,9 @@ function normalizePath (path) { if (Buffer.isBuffer(path)) { path = toB58String(path) } + if (path.indexOf('/ipfs/') === 0) { + path = path.substring('/ipfs/'.length) + } if (path.charAt(path.length - 1) === '/') { path = path.substring(0, path.length - 1) }