SqliteWorker: use SQLite path from config

This commit is contained in:
Alex Gleason 2023-12-02 13:18:35 -06:00
parent b168175d14
commit 455752e656
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
import SqliteWorker from './workers/sqlite.ts';
import { Conf } from '@/config.ts';
import SqliteWorker from '@/workers/sqlite.ts';
const sqliteWorker = new SqliteWorker('./data/db.sqlite3');
const sqliteWorker = new SqliteWorker(Conf.dbPath);
export { sqliteWorker };