use global opfs IO in the sync

This commit is contained in:
Nikita Sivukhin
2025-09-17 23:30:44 +04:00
parent 974feac27b
commit acc536d542

View File

@@ -167,7 +167,7 @@ impl SyncEngine {
}
#[cfg(feature = "browser")]
{
Arc::new(turso_node::browser::Opfs::new()?)
turso_node::browser::opfs()
}
};
Ok(SyncEngine {