mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
SqliteWorker: use SQLite path from config
This commit is contained in:
parent
b168175d14
commit
455752e656
1 changed files with 3 additions and 2 deletions
|
|
@ -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 };
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue