fix UPDATE_CHECK=false

This commit is contained in:
Wingy 2021-09-14 22:15:41 -04:00
parent 7f6f1d3c8d
commit ed2691c8d8

View file

@ -90,6 +90,7 @@ app.listen(config.port, () => logger.success('express', `Express server started
})()
;(() => {
if (process.env.UPDATE_CHECK === 'false') return
async function checkUpdates () {
try {
const res = await fetch('https://raw.githubusercontent.com/Wingysam/Christmas-Community/master/package.json')