From ed2691c8d85625883435279b05f71cff9ac048cf Mon Sep 17 00:00:00 2001 From: Wingy Date: Tue, 14 Sep 2021 22:15:41 -0400 Subject: [PATCH] fix UPDATE_CHECK=false --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 277cd94..edadbb1 100644 --- a/index.js +++ b/index.js @@ -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')