Removing the stupidity from the 404 page
This commit is contained in:
parent
9c5ac7bf56
commit
7cfc0b0bdd
1 changed files with 2 additions and 3 deletions
5
index.js
5
index.js
|
@ -264,9 +264,8 @@ pageUpdate()
|
||||||
app.use((req, res, next) => {
|
app.use((req, res, next) => {
|
||||||
res.status(404).send(`
|
res.status(404).send(`
|
||||||
<link rel="stylesheet" href="/style.css">
|
<link rel="stylesheet" href="/style.css">
|
||||||
<h1>...what?</h1>
|
<h1>404</h1>
|
||||||
<p>Uh oh... I think your lost? There's nothing here :P
|
<p>Uh oh... I think your lost? There's nothing here :P</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…
Reference in a new issue