improved error handling of wrong port configuration, #3177

This commit is contained in:
zadam
2022-10-01 15:32:30 +02:00
parent 20ff5627d8
commit 6d4ef4ee3d
3 changed files with 27 additions and 15 deletions

View File

@@ -64,11 +64,13 @@ const DOCUMENT_PATH = TRILIUM_DATA_DIR + path.sep + "document.db";
const BACKUP_DIR = TRILIUM_DATA_DIR + path.sep + "backup";
const LOG_DIR = TRILIUM_DATA_DIR + path.sep + "log";
const ANONYMIZED_DB_DIR = TRILIUM_DATA_DIR + path.sep + "anonymized-db";
const CONFIG_INI_PATH = TRILIUM_DATA_DIR + '/config.ini';
module.exports = {
TRILIUM_DATA_DIR,
DOCUMENT_PATH,
BACKUP_DIR,
LOG_DIR,
ANONYMIZED_DB_DIR
ANONYMIZED_DB_DIR,
CONFIG_INI_PATH
};