From f066c6b4a820b14aa5fb6fba4cc2e301cde7f24f Mon Sep 17 00:00:00 2001 From: SamTV12345 <40429738+samtv12345@users.noreply.github.com> Date: Sat, 7 Sep 2024 14:59:05 +0200 Subject: [PATCH] Added support for sqlite rust backend. --- src/node/utils/Settings.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/node/utils/Settings.ts b/src/node/utils/Settings.ts index 0113499f5..00b9c2981 100644 --- a/src/node/utils/Settings.ts +++ b/src/node/utils/Settings.ts @@ -941,11 +941,12 @@ exports.reloadSettings = () => { logger.warn(`${dirtyWarning} File location: ${exports.dbSettings.filename}`); } - if (exports.dbType === 'rustydb') { + if (exports.dbType === 'rustydb' || exports.dbType === "sqlite") { exports.dbSettings.filename = absolutePaths.makeAbsolute(exports.dbSettings.filename); logger.warn(`File location: ${exports.dbSettings.filename}`); } + if (exports.ip === '') { // using Unix socket for connectivity logger.warn('The settings file contains an empty string ("") for the "ip" parameter. The ' +