forked from mia/0x0
add extension override for audio/flac
This commit is contained in:
parent
4b8c9eb758
commit
b1c79e582b
1 changed files with 1 additions and 0 deletions
1
fhost.py
1
fhost.py
|
@ -25,6 +25,7 @@ app.config["FHOST_STORAGE_PATH"] = "up"
|
|||
app.config["FHOST_USE_X_ACCEL_REDIRECT"] = True # expect nginx by default
|
||||
app.config["USE_X_SENDFILE"] = False
|
||||
app.config["FHOST_EXT_OVERRIDE"] = {
|
||||
"audio/flac" : ".flac",
|
||||
"image/gif" : ".gif",
|
||||
"image/jpeg" : ".jpg",
|
||||
"image/png" : ".png",
|
||||
|
|
Loading…
Reference in a new issue