Add extension override for text/x-diff

This commit is contained in:
Martin Herkt 2017-12-22 21:41:51 +01:00
parent 0b288d9a94
commit 4b8c9eb758
No known key found for this signature in database
GPG Key ID: C24B9CD04DC6AE7F

View File

@ -32,7 +32,8 @@ app.config["FHOST_EXT_OVERRIDE"] = {
"video/webm" : ".webm", "video/webm" : ".webm",
"video/x-matroska" : ".mkv", "video/x-matroska" : ".mkv",
"application/octet-stream" : ".bin", "application/octet-stream" : ".bin",
"text/plain" : ".txt" "text/plain" : ".txt",
"text/x-diff" : ".diff",
} }
# default blacklist to avoid AV mafia extortion # default blacklist to avoid AV mafia extortion