From 56e3887754dd035249592a8f50d4a7264e44ac5c Mon Sep 17 00:00:00 2001 From: Mashintime Date: Sat, 4 Mar 2023 10:47:42 -0500 Subject: [PATCH] Switch to var --- gui/preload-chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/preload-chat.js b/gui/preload-chat.js index 20acfcdc..8a7a4f0e 100644 --- a/gui/preload-chat.js +++ b/gui/preload-chat.js @@ -13,7 +13,7 @@ var appDataFolder = : process.env.HOME + "/.config"); var configFolder = path.join(appDataFolder, "FreeDATA"); var configPath = path.join(configFolder, "config.json"); -const config = require(configPath); +var config = require(configPath); // set date format const dateFormat = new Intl.DateTimeFormat(navigator.language, { timeStyle: "long",