1
0
Fork 0

favicon: 204 instead of 200

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2023-08-13 16:57:01 +02:00
parent 9270a4a079
commit b3f8e72932
Signed by: sam
GPG Key ID: 4D8B07C18F31ACBD
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ app.onError((err, c) => {
return c.json({ error: err.message }, 500)
})
app.get("/favicon.ico", (c) => c.body(null, 200))
app.get("/favicon.ico", (c) => c.body(null, 204))
// Politely tell robots to go away
app.get("/robots.txt", (c) => c.text("User-agent: *\nDisallow: /"))