mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 05:15:04 +00:00
Handle /favicon.ico
Reply with the susie.png.
This commit is contained in:
parent
6714084011
commit
eda9e94086
1 changed files with 1 additions and 1 deletions
2
httpd.c
2
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";
|
||||
|
|
Loading…
Reference in a new issue