Introduction
Introduction Statistics Contact Development Disclaimer Help
Add running pointer cat support to httpd. - bitreich-httpd - Bitreich HTTPD ser…
git clone git://bitreich.org/bitreich-httpd git://enlrupgkhuxnvlhsf6lc3fziv5h2h…
Log
Files
Refs
Tags
README
LICENSE
---
commit bfdf7e2df9db3f0ff9f02f21e08b109aa533a723
parent 865ab23256ee80bea656a7cca229be47cbf2f8c7
Author: Christoph Lohmann <[email protected]>
Date: Wed, 31 Jul 2024 17:25:24 +0200
Add running pointer cat support to httpd.
Diffstat:
M bitreich-httpd.c | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/bitreich-httpd.c b/bitreich-httpd.c
@@ -293,6 +293,9 @@ main(int argc, char *argv[])
} else if (strstr(request, "bitreich.css")) {
asprintf(&path, "%s/s/bitreich.css", wwwbase);
ctype = "text/css";
+ } else if (strstr(request, "neko.png")) {
+ asprintf(&path, "%s/s/neko.png", wwwbase);
+ ctype = "image/png";
} else if (strstr(request, "yolo-css-")) {
/* We hate CSS in here. */
sleep(1);
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.