From eda9e9408627979f9b9e8e3e9b2e7070e06a2eba Mon Sep 17 00:00:00 2001 From: Alex Schroeder Date: Sun, 4 Dec 2022 20:16:40 +0100 Subject: [PATCH] Handle /favicon.ico Reply with the susie.png. --- httpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpd.c b/httpd.c index dd8978d..bfe14fe 100644 --- a/httpd.c +++ b/httpd.c @@ -76,7 +76,7 @@ int server_get_handler(d_char *req, char *q_path, } } else - if (strcmp(q_path, "/susie.png") == 0) { + if (strcmp(q_path, "/susie.png") == 0 || strcmp(q_path, "/favicon.ico") == 0 ) { status = 200; *body = xs_base64_dec(susie, b_size); *ctype = "image/png";