Skip to content

Commit 1895713

Browse files
committed
default root
1 parent f72c2f9 commit 1895713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/services/redb/backend.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ impl Builder for RedbBuilder {
9191
core: RedbCore {
9292
datadir: datadir_path,
9393
table: table_name,
94-
root: self.config.root.unwrap_or_default(),
94+
root: self.config.root.unwrap_or_else(|| "/".into()),
9595
db,
9696
}
9797
.into(),

0 commit comments

Comments
 (0)