diff options
author | Alex Schroeder <alex@gnu.org> | 2022-12-04 20:16:40 +0100 |
---|---|---|
committer | Alex Schroeder <alex@gnu.org> | 2022-12-04 20:16:40 +0100 |
commit | eda9e9408627979f9b9e8e3e9b2e7070e06a2eba (patch) | |
tree | 4ead83d7e24ffb1b0a0a6b0f9bc2f009c5b34352 /httpd.c | |
parent | 67140840112c1c791503435ece16654d50ba8929 (diff) |
Handle /favicon.ico
Reply with the susie.png.
Diffstat (limited to 'httpd.c')
-rw-r--r-- | httpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"; |