fix UPDATE_CHECK=false
This commit is contained in:
parent
7f6f1d3c8d
commit
ed2691c8d8
1 changed files with 1 additions and 0 deletions
1
index.js
1
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 () {
|
async function checkUpdates () {
|
||||||
try {
|
try {
|
||||||
const res = await fetch('https://raw.githubusercontent.com/Wingysam/Christmas-Community/master/package.json')
|
const res = await fetch('https://raw.githubusercontent.com/Wingysam/Christmas-Community/master/package.json')
|
||||||
|
|
Loading…
Reference in a new issue