Skip to content

Commit 3e85c2a

Browse files
committed
default root
1 parent c55bfdb commit 3e85c2a

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
@@ -135,7 +135,7 @@ impl Builder for RedbBuilder {
135135
core: RedbCore {
136136
datadir,
137137
table: table_name,
138-
root: self.config.root.unwrap_or_default(),
138+
root: self.config.root.unwrap_or_else(|| "/".into()),
139139
db,
140140
}
141141
.into(),

0 commit comments

Comments
 (0)