summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrun-gomf.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-gomf.bash b/run-gomf.bash
index c8acce7..78fa7ac 100755
--- a/run-gomf.bash
+++ b/run-gomf.bash
@@ -197,7 +197,7 @@ flags=()
[ "${WHITELIST:-0}" -ne 0 ] && flags+=(--whitelist)
oldifs="$IFS" IFS=,
[ -n "$FILTER_EXT" ] && flags+=(--filter-ext "${FILTER_EXT[*]}")
-[ -n "$FILTER_MIME" ] && flags+=(--filter-ext "${FILTER_MIME[*]}")
+[ -n "$FILTER_MIME" ] && flags+=(--filter-mime "${FILTER_MIME[*]}")
IFS="$oldifs"
[ "${ALLOW_HTML:-0}" -ne 0 ] && flags+=(--allow-html)
[ "${CORS:-0}" -ne 0 ] && flags+=(--cors)