mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-28 09:34:33 +01:00
SqliteWorker: use SQLite path from config
This commit is contained in:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user