Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added CSS "support" to sendfile.
[ashd.git]
/
src
/
sendfile.c
diff --git
a/src/sendfile.c
b/src/sendfile.c
index
f12e33e
..
30b1c24
100644
(file)
--- a/
src/sendfile.c
+++ b/
src/sendfile.c
@@
-72,6
+72,8
@@
static char *getmimetype(char *file, struct stat *sb)
return("application/xhtml+xml");
if(!strrcmp(file, ".txt"))
return("text/plain");
+ if(!strrcmp(file, ".css"))
+ return("text/css");
if(!strrcmp(file, ".py"))
return("text/plain");
if(!strrcmp(file, ".c"))