diff --git a/src/sqlite3.worker.ts b/src/sqlite3.worker.ts index 7ab057a..72fe3ef 100644 --- a/src/sqlite3.worker.ts +++ b/src/sqlite3.worker.ts @@ -12,8 +12,9 @@ onmessage = async (event) => { await sqlite3.installOpfsSAHPoolVfs({ clearOnInit: false, initialCapacity: 65536, + directory: "/var/managed-sah" }); sqlite3.initWorker1API(); - console.log(sqlite3.capi.sqlite3_vfs_find("opfs-sah")); + console.log(sqlite3.capi.sqlite3_vfs_find("opfs-sahpool")); } };