Merge pull request #1107 from ethereum/fixSwarmPublish

use normalize path to retrieve content
pull/1/head
yann300 7 years ago committed by GitHub
commit 817707d685
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/app/files/basicReadOnlyExplorer.js

@ -28,6 +28,7 @@ class BasicReadOnlyExplorer {
}
get (path, cb) {
if (this.normalizedNames[path]) path = this.normalizedNames[path] // ensure we actually use the normalized path from here
var unprefixedPath = this.removePrefix(path)
var content = this.files[unprefixedPath]
if (!content) {

Loading…
Cancel
Save