diff options
author | default <nobody@localhost> | 2023-01-27 18:17:11 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2023-01-27 18:17:11 +0100 |
commit | a3ed2408fcaca25ad4966741e173677aab0a8848 (patch) | |
tree | a1e7c1365fbf7da67b32f5faea60d83b190310e5 /httpd.c | |
parent | 0607ebc2010d23f5f51da5e0300564a4e0cdba33 (diff) |
New function default_avatar_base64().
Diffstat (limited to 'httpd.c')
-rw-r--r-- | httpd.c | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -14,14 +14,6 @@ #include <setjmp.h> #include <pthread.h> -/* susie.png */ -const char *susie = - "iVBORw0KGgoAAAANSUhEUgAAAEAAAABAAQAAAAC" - "CEkxzAAAAUUlEQVQoz43R0QkAMQwCUDdw/y3dwE" - "vsvzlL4X1IoQkAisKmwfAFT3RgJHbQezpSRoXEq" - "eqCL9BJBf7h3QbOCCxV5EVWMEMwG7K1/WODtlvx" - "AYTtEsDU9F34AAAAAElFTkSuQmCC"; - /* nodeinfo 2.0 template */ const char *nodeinfo_2_0_template = "" @@ -99,7 +91,7 @@ int server_get_handler(d_char *req, char *q_path, else if (strcmp(q_path, "/susie.png") == 0 || strcmp(q_path, "/favicon.ico") == 0 ) { status = 200; - *body = xs_base64_dec(susie, b_size); + *body = xs_base64_dec(default_avatar_base64(), b_size); *ctype = "image/png"; } else |