diff --git a/index.js b/index.js index e72bd28..e8e6cda 100644 --- a/index.js +++ b/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(`