works better w/o lanyard lol

This commit is contained in:
bingus_violet 2023-12-21 16:19:15 +00:00
parent e30e1c557a
commit 9474767542

View file

@ -232,8 +232,6 @@ function pageUpdate() {
html = html.replace("{SEASONAL_EFFECT}", "")
}
// html = html.replace("{COMMITS}", commitCount("https://codeberg.org/Bingus_Violet/Violets-Purgatory"))
fs.writeFileSync(path.join(__dirname, 'static/index.html'), html)
}
@ -266,6 +264,8 @@ lanyard.addEventListener("message", (res) => {
}
})
pageUpdate()
app.use((req, res, next) => {
res.status(404).send(`
<link rel="stylesheet" href="/style.css">