works better w/o lanyard lol
This commit is contained in:
parent
e30e1c557a
commit
9474767542
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue