Skip to content
This repository was archived by the owner on Aug 12, 2020. It is now read-only.

Commit 62cc871

Browse files
committed
fix: exporting: getting rid of /ipfs/ for good
1 parent c060b53 commit 62cc871

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/exporter/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function pathBaseAndRest (path) {
1717

1818
if (typeof path === 'string') {
1919
if (path.indexOf('/ipfs/') === 0) {
20-
path = path.substring(6)
20+
path = pathBase = path.substring(6)
2121
}
2222
const subtreeStart = path.indexOf('/')
2323
if (subtreeStart > 0) {

0 commit comments

Comments
 (0)