summaryrefslogtreecommitdiffstats
path: root/src/httpd.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/httpd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/httpd.c b/src/httpd.c
index 23f4b60..efebd75 100644
--- a/src/httpd.c
+++ b/src/httpd.c
@@ -153,6 +153,11 @@ enum MHD_Result sc_httpd (void * cls,
sprintf(response, sc_osdd, host);
content_type = "application/opensearchdescription+xml";
break;
+ case 'c': /* css.css - stylesheets */
+ mhdrmm = MHD_RESPMEM_PERSISTENT;
+ response = sc_css;
+ content_type = "text/css";
+ break;
case 'l': /* logs.html */
{
#ifdef SC_LOGMEM