favicon: 204 instead of 200
Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
9270a4a079
commit
b3f8e72932
|
@ -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: /"))
|
||||
|
|
Loading…
Reference in New Issue