From 3c6de2903b6cf9b2e2d89f22514138551d1d0a6a Mon Sep 17 00:00:00 2001 From: Adam Sutton Date: Sat, 25 Aug 2012 22:55:36 +0100 Subject: [PATCH] Fix warnings about wrong MIME type for CSS files. --- src/webui/webui.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/webui/webui.c b/src/webui/webui.c index a6064ad3..a5daee7f 100644 --- a/src/webui/webui.c +++ b/src/webui/webui.c @@ -105,6 +105,8 @@ page_static_file(http_connection_t *hc, const char *remain, void *opaque) postfix++; if(!strcmp(postfix, "js")) content = "text/javascript; charset=UTF-8"; + else if(!strcmp(postfix, "css")) + content = "text/css; charset=UTF-8"; } // TODO: handle compression