diff options
author | Martin Herkt <lachs0r@srsfckn.biz> | 2017-12-22 21:41:51 +0100 |
---|---|---|
committer | Martin Herkt <lachs0r@srsfckn.biz> | 2017-12-22 21:41:51 +0100 |
commit | 4b8c9eb758151b814d325e1a0f4909d206bed7fe (patch) | |
tree | ef805d5e9772a45f111609b78e91e585066ac111 | |
parent | Add command to delete all files uploaded by address (diff) | |
download | hex-zero-4b8c9eb758151b814d325e1a0f4909d206bed7fe.tar.gz hex-zero-4b8c9eb758151b814d325e1a0f4909d206bed7fe.tar.bz2 hex-zero-4b8c9eb758151b814d325e1a0f4909d206bed7fe.zip |
Add extension override for text/x-diff
-rwxr-xr-x | fhost.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |