* fix XML mimetype
parent
a9a2d8da25
commit
61bd6b72fe
|
@ -21,7 +21,7 @@ function get_mime() {
|
||||||
mimetype=""
|
mimetype=""
|
||||||
elif [[ $file == *".css" ]]; then
|
elif [[ $file == *".css" ]]; then
|
||||||
mimetype="text/css"
|
mimetype="text/css"
|
||||||
elif [[ $mime == "text/"* ]]; then
|
elif [[ $mime == "text/"* && $mime != "text/xml" ]]; then
|
||||||
mimetype="text/plain"
|
mimetype="text/plain"
|
||||||
else
|
else
|
||||||
mimetype="$mime"
|
mimetype="$mime"
|
||||||
|
|
Loading…
Reference in New Issue