Commit 89bffcd1 authored by Karl Heyes's avatar Karl Heyes

add fallback mime type for css

svn path=/icecast/trunk/icecast/; revision=8154
parent a45c4ddb
...@@ -331,6 +331,8 @@ static char *fserve_content_type(char *path) ...@@ -331,6 +331,8 @@ static char *fserve_content_type(char *path)
return "audio/mpeg"; return "audio/mpeg";
else if(!strcmp(ext, "html")) else if(!strcmp(ext, "html"))
return "text/html"; return "text/html";
else if(!strcmp(ext, "css"))
return "text/css";
else if(!strcmp(ext, "txt")) else if(!strcmp(ext, "txt"))
return "text/plain"; return "text/plain";
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment