Remove gentime

This commit is contained in:
Bingus_Violet 2024-01-27 12:16:40 -06:00
parent e6d3ab50bb
commit 498f19f3b9
2 changed files with 1 additions and 2 deletions

View file

@ -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

View file

@ -67,7 +67,6 @@
<li>Uptime: {UPTIME}</li>
<li>Last Lanyard Update: {LAST_LANYARD}</li>
<li>Quotes: {QUOTE_COUNT}</li>
<li>Page Generation Time: {GENERATION_TIME}</li>
</ul>
{SOCIALS}