mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: add directory watcher to StaticFileProvider::read_only (#10701)
This commit is contained in:
@ -28,7 +28,7 @@ fn main() -> eyre::Result<()> {
|
||||
db_path,
|
||||
spec.into(),
|
||||
Default::default(),
|
||||
StaticFileProvider::read_only(db_path.join("static_files"))?,
|
||||
StaticFileProvider::read_only(db_path.join("static_files"), false)?,
|
||||
)?;
|
||||
|
||||
// This call opens a RO transaction on the database. To write to the DB you'd need to call
|
||||
|
||||
Reference in New Issue
Block a user