Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
fix: root datastore extension (#3768)
Browse files Browse the repository at this point in the history
Fixes docker build problems
  • Loading branch information
achingbrain committed Jul 27, 2021
1 parent 3d91be2 commit 62311f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/ipfs-core/src/runtime/repo-nodejs.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ module.exports = (print, codecs, options = {}) => {
}

return createRepo(repoPath, (codeOrName) => codecs.getCodec(codeOrName), {
root: new DatastoreFS(repoPath),
root: new DatastoreFS(repoPath, {
extension: ''
}),
blocks: new BlockstoreDatastoreAdapter(
new ShardingDatastore(
new DatastoreFS(`${repoPath}/blocks`, {
Expand Down

0 comments on commit 62311f8

Please sign in to comment.