remove cron key warning

cron-as-worker-process
Moe 2022-08-10 22:42:02 -07:00
parent 5d9db1124b
commit 15f6eb8616
1 changed files with 0 additions and 7 deletions

View File

@ -216,12 +216,5 @@ module.exports = function(s){
}
]
}
if(config.cron.key === 'change_this_to_something_very_random__just_anything_other_than_this'){
console.error('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!')
console.error('!! Change your cron key in your conf.json. !!')
console.error(`!! If you're running Shinobi remotely you should do this now. !!`)
console.error('!! You can do this in the Super User panel or from terminal. !!')
console.error('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!')
}
return config
}