Update index.js
This commit is contained in:
parent
cc1cd2d377
commit
108afd8ffd
1 changed files with 5 additions and 5 deletions
10
index.js
10
index.js
|
@ -1,6 +1,6 @@
|
||||||
const fs = require('fs')
|
const fs = require('fs')
|
||||||
|
|
||||||
var updateTime = (process.env.UPDATE_TIME || 30)
|
var updateTime = (process.env.UPDATE_TIME || 45)
|
||||||
|
|
||||||
var clientId = "1176317740512985119"
|
var clientId = "1176317740512985119"
|
||||||
|
|
||||||
|
@ -8,10 +8,10 @@ const steamID = process.env.STEAM_ID
|
||||||
|
|
||||||
const thumborURL = "https://thumbor-production-0e82.up.railway.app/unsafe/fit-in/512x512/filters:fill(transparent)/"
|
const thumborURL = "https://thumbor-production-0e82.up.railway.app/unsafe/fit-in/512x512/filters:fill(transparent)/"
|
||||||
|
|
||||||
// if (clientId == undefined) {
|
if (updateTime < 30) {
|
||||||
// console.error("No client ID was defined! Please check the documentation for how to add one.")
|
console.error("Update time must be above 30! Please change your settings!")
|
||||||
// return
|
return
|
||||||
// }
|
}
|
||||||
|
|
||||||
if (steamID == undefined) {
|
if (steamID == undefined) {
|
||||||
console.error("No Steam ID was defined! Please check the documentation for how to add one.")
|
console.error("No Steam ID was defined! Please check the documentation for how to add one.")
|
||||||
|
|
Loading…
Reference in a new issue