refactor: remote data provider

This commit is contained in:
DarkSky
2022-08-10 22:10:34 +08:00
parent a5a8b32a25
commit 89191290e4
5 changed files with 137 additions and 111 deletions
+1
View File
@@ -41,6 +41,7 @@ const initSQLiteInstance = async () => {
_sqliteProcessing = true;
_sqliteInstance = await sqlite({
locateFile: () =>
// @ts-ignore
new URL('sql.js/dist/sql-wasm.wasm', import.meta.url).href,
});
_sqliteProcessing = false;