mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
options for basic image quality control
This commit is contained in:
@@ -20,8 +20,6 @@ const dbConnection = new Promise(async (resolve, reject) => {
|
||||
const db = await createConnection();
|
||||
sql.setDbConnection(db);
|
||||
|
||||
await require('./options_init').initStartupOptions();
|
||||
|
||||
resolve();
|
||||
});
|
||||
|
||||
@@ -76,6 +74,8 @@ async function initDbConnection() {
|
||||
await migrationService.migrate();
|
||||
}
|
||||
|
||||
await require('./options_init').initStartupOptions();
|
||||
|
||||
log.info("DB ready.");
|
||||
dbReadyResolve();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user