.css, .svg
This commit is contained in:
parent
f82dce4835
commit
64ebfbf313
@ -343,6 +343,12 @@ guess_mime_type(char *filename)
|
||||
if (!strcasecmp(suffix, ".js"))
|
||||
return "text/javascript";
|
||||
|
||||
if (!strcasecmp(suffix, ".css"))
|
||||
return "text/css";
|
||||
|
||||
if (!strcasecmp(suffix, ".svg"))
|
||||
return "image/svg+xml";
|
||||
|
||||
if (!strcasecmp(suffix, ".mp4"))
|
||||
return "video/mp4";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user