forked from mia/0x0
Add extension override for text/x-diff
This commit is contained in:
parent
0b288d9a94
commit
4b8c9eb758
1 changed files with 2 additions and 1 deletions
3
fhost.py
3
fhost.py
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue