From 2e72a33cebc5d35ca7e60becdec0f8ccacd8a5a9 Mon Sep 17 00:00:00 2001 From: f0x Date: Mon, 20 May 2024 23:54:26 +0200 Subject: [PATCH] hardcode config.js location to /etc so other state can easily be moved elsewhere --- server/config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/config.ts b/server/config.ts index bbbb34571..192333c85 100644 --- a/server/config.ts +++ b/server/config.ts @@ -125,7 +125,8 @@ class Config { } getConfigPath() { - return path.join(this.#homePath, "config.js"); + // return path.join(this.#homePath, "config.js"); + return "/etc/thelounge/config.js"; } getUserLogsPath() {