diff --git a/index.js b/index.js index 23e3905..f1deda9 100644 --- a/index.js +++ b/index.js @@ -351,7 +351,7 @@ function pageUpdate() { html = html.replace("{LAST_LANYARD}", gameTimeFormatter((Date.now() - lastLanyardUpdate) / 1000) + ' ago') html = html.replace("{QUOTE_COUNT}", randomQuotes.length) - html = html.replace("{GENERATION_TIME}", (Date.now() - genStart).toString() + 'ms') + html = html.replace("{GENERATION_TIME}", Math.ceil(Date.now() - genStart).toString() + 'ms') //fs.writeFileSync(path.join(__dirname, 'static/index.html'), html) return html diff --git a/resources/mainPage.html b/resources/mainPage.html index c524b51..782f12c 100644 --- a/resources/mainPage.html +++ b/resources/mainPage.html @@ -67,7 +67,6 @@
  • Uptime: {UPTIME}
  • Last Lanyard Update: {LAST_LANYARD}
  • Quotes: {QUOTE_COUNT}
  • -
  • Page Generation Time: {GENERATION_TIME}
  • {SOCIALS}