summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Herkt <lachs0r@srsfckn.biz>2017-12-22 21:41:51 +0100
committerMartin Herkt <lachs0r@srsfckn.biz>2017-12-22 21:41:51 +0100
commit4b8c9eb758151b814d325e1a0f4909d206bed7fe (patch)
treeef805d5e9772a45f111609b78e91e585066ac111
parent0b288d9a94df5662d87fa23dc41f04cf5323aeb0 (diff)
Add extension override for text/x-diff
-rwxr-xr-xfhost.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/fhost.py b/fhost.py
index 02d957a..6706343 100755
--- a/fhost.py
+++ b/fhost.py
@@ -32,7 +32,8 @@ app.config["FHOST_EXT_OVERRIDE"] = {
"video/webm" : ".webm",
"video/x-matroska" : ".mkv",
"application/octet-stream" : ".bin",
- "text/plain" : ".txt"
+ "text/plain" : ".txt",
+ "text/x-diff" : ".diff",
}
# default blacklist to avoid AV mafia extortion