diff --git a/src/services/sql_init.js b/src/services/sql_init.js index 619da284e..c655fcee8 100644 --- a/src/services/sql_init.js +++ b/src/services/sql_init.js @@ -31,7 +31,7 @@ function isDbInitialized() { async function initDbConnection() { if (!isDbInitialized()) { - log.info(`DB not initialized, please visit setup page` + (utils.isElectron() ? '' : ` - http://[your-server-host]:${port} to see instructions on how to initialize Trilium.`)); + log.info(`DB not initialized, please visit setup page` + (utils.isElectron() ? '' : ` - http://[your-server-host]:${await port} to see instructions on how to initialize Trilium.`)); return; }