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

fix: root datastore extension #3768

Merged
merged 1 commit into from
Jul 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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