From 4b8c9eb758151b814d325e1a0f4909d206bed7fe Mon Sep 17 00:00:00 2001 From: Martin Herkt Date: Fri, 22 Dec 2017 21:41:51 +0100 Subject: Add extension override for text/x-diff --- fhost.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3