mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-11-03 04:17:17 -05:00
add fallback mime type for css
svn path=/icecast/trunk/icecast/; revision=8154
This commit is contained in:
parent
a45c4ddb4a
commit
89bffcd104
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user