X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Fsendfile.c;fp=src%2Fsendfile.c;h=30b1c243aea9b282fa09d504bcca73e8185b2807;hb=ee1b55f6f064c76b69f908b66d7d3d6c5d01807f;hp=f12e33e6ada9e9d5aecfeff376bf4e144fa97e8e;hpb=bac8c1f95369efe4802bd9b41a7deba9468d1dd4;p=ashd.git diff --git a/src/sendfile.c b/src/sendfile.c index f12e33e..30b1c24 100644 --- 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"))