From b3f8e729325ddfe662f22fdad247b244b8e7ae89 Mon Sep 17 00:00:00 2001 From: Sam Therapy Date: Sun, 13 Aug 2023 16:57:01 +0200 Subject: [PATCH] favicon: 204 instead of 200 Signed-off-by: Sam Therapy --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 2a8ecb8..f8f6bcf 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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: /"))