mirror of
https://github.com/HirziDevs/PteroStats
synced 2026-05-28 10:40:48 +00:00
feat: update config version to 5
This commit is contained in:
@@ -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
|
||||
module.exports = configconfig
|
||||
Reference in New Issue
Block a user