404 page, portfolio and stuffs

This commit is contained in:
bingus_violet 2023-12-19 18:15:35 +00:00
parent a0114e3367
commit 30d598e426
4 changed files with 60 additions and 2 deletions

View file

@ -294,4 +294,14 @@ function mastoUpdate() {
}, 1000 * 60 * 60)
}
// mastoUpdate()
// mastoUpdate()
app.use((req, res, next) => {
res.status(404).send(
`<link rel="stylesheet" href="./style.css">
<h1>...what?</h1>
<p>Uh oh... I think your lost? There's nothing here :P
<br>Maybe you were sent the wrong link? Try going to 'fs.violets-purgatory.dev' instead if you were expecting a file...</p>`
)
})