From 49134e79c9d7ca1e3fc3ad2f749fdb9ccc2220e4 Mon Sep 17 00:00:00 2001 From: Hirzi Date: Wed, 11 Sep 2024 08:19:55 +0700 Subject: [PATCH] feat: update config version to 5 --- handlers/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handlers/config.js b/handlers/config.js index d781a78..7609433 100644 --- a/handlers/config.js +++ b/handlers/config.js @@ -19,11 +19,11 @@ try { process.exit(); } -if (config.version !== 4) { +if (config.version !== 5) { console.error('Config Error | Invalid config version! The config has been updated, please get the new config from https://github.com/HirziDevs/PteroStats/blob/dev/config.yml'); process.exit(); } console.log(cliColor.cyanBright("[PteroStats] ") + cliColor.yellow("Configuration loaded")) -module.exports = config \ No newline at end of file +module.exports = configconfig \ No newline at end of file