Add relaxation background sound to bitreich.org. - bitreich-httpd - Bitreich HTTPD service
(HTM) git clone git://bitreich.org/bitreich-httpd git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/bitreich-httpd
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
(DIR) LICENSE
---
(DIR) commit 541b20740b10f45a13f1f3c05bde2f176b2817c8
(DIR) parent d91240a05f9f9ccb93d93e7bea44fc7cbf79e779
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Sat, 21 Oct 2023 15:05:23 +0200
Add relaxation background sound to bitreich.org.
Diffstat:
M bitreich-httpd.c | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/bitreich-httpd.c b/bitreich-httpd.c
@@ -231,6 +231,9 @@ main(int argc, char *argv[])
} else if (strstr(request, "startup.mp3")) {
asprintf(&path, "%s/s/startup.mp3", wwwbase);
ctype = "audio/mpeg";
+ } else if (strstr(request, "padme-hum.mp3")) {
+ asprintf(&path, "%s/s/padme-hum.mp3", wwwbase);
+ ctype = "audio/mpeg";
} else if (strstr(request, "dickbutt")) {
asprintf(&path,
"/home/annna/bin/locate-cake-hater \"%s\" \"%s\"",