commit 4b8c9eb758151b814d325e1a0f4909d206bed7fe
parent 0b288d9a94df5662d87fa23dc41f04cf5323aeb0
Author: Martin Herkt <lachs0r@srsfckn.biz>
Date: Fri, 22 Dec 2017 21:41:51 +0100
Add extension override for text/x-diff
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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