* fix XML mimetype

merge-requests/2/head
Dominika Liberda 2021-07-26 23:05:41 +02:00
parent a9a2d8da25
commit 61bd6b72fe
1 changed files with 1 additions and 1 deletions

View File

@ -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"