404 page, portfolio and stuffs
This commit is contained in:
parent
a0114e3367
commit
30d598e426
4 changed files with 60 additions and 2 deletions
12
index.js
12
index.js
|
@ -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>`
|
||||
)
|
||||
})
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue