mirror of
https://git.0x0.st/mia/0x0.git
synced 2024-11-22 08:57:11 +01:00
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/x-matroska" : ".mkv",
|
||||
"application/octet-stream" : ".bin",
|
||||
"text/plain" : ".txt"
|
||||
"text/plain" : ".txt",
|
||||
"text/x-diff" : ".diff",
|
||||
}
|
||||
|
||||
# default blacklist to avoid AV mafia extortion
|
||||
|
|
Loading…
Reference in a new issue