diff --git a/src/mime.sh b/src/mime.sh index 2661e63..e3a469c 100755 --- a/src/mime.sh +++ b/src/mime.sh @@ -21,7 +21,7 @@ function get_mime() { mimetype="" elif [[ $file == *".css" ]]; then mimetype="text/css" - elif [[ $mime == "text/"* ]]; then + elif [[ $mime == "text/"* && $mime != "text/xml" ]]; then mimetype="text/plain" else mimetype="$mime"