diff --git a/config.json b/config.json index 7cbff45..5db5a88 100644 --- a/config.json +++ b/config.json @@ -49,7 +49,9 @@ "Please check out the api for this site :3", "Please check out the beta!", "Simpletube? Hah, I hardly remember her... its been a long time hasn't it... Maybe i'll return to it one day soon...", - "Okay I REALLY need an image cache :/" + "Okay I REALLY need an image cache :/", + "You know... I was a Roblox Developer Once...", + "I used to love Star Glitcher games" ], "thumborInstances": [ diff --git a/index.js b/index.js index 79a66be..7557c2d 100644 --- a/index.js +++ b/index.js @@ -13,8 +13,6 @@ const resourcePath = path.join(__dirname, 'resources') const mainpage = resourcePath + '/mainPage.html' var lanyardData = undefined -var discData = null - var config = JSON.parse(fs.readFileSync(path.join(__dirname, 'config.json'))) var thumborInstances = config.thumborInstances @@ -51,8 +49,8 @@ function gameTimeFormatter(seconds) { seconds = Math.ceil(seconds) var minutes = Math.ceil(seconds / 60) var hours = Math.floor(minutes / 60) - if (seconds < 60) { - return 'Under a minute ago' + if (seconds <= 60) { + return 'Under a minute' } else if (minutes < 60) { return `${minutes} Minutes` }