add extension override for audio/flac
This commit is contained in:
parent
4b8c9eb758
commit
b1c79e582b
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["FHOST_USE_X_ACCEL_REDIRECT"] = True # expect nginx by default
|
||||||
app.config["USE_X_SENDFILE"] = False
|
app.config["USE_X_SENDFILE"] = False
|
||||||
app.config["FHOST_EXT_OVERRIDE"] = {
|
app.config["FHOST_EXT_OVERRIDE"] = {
|
||||||
|
"audio/flac" : ".flac",
|
||||||
"image/gif" : ".gif",
|
"image/gif" : ".gif",
|
||||||
"image/jpeg" : ".jpg",
|
"image/jpeg" : ".jpg",
|
||||||
"image/png" : ".png",
|
"image/png" : ".png",
|
||||||
|
Loading…
Reference in New Issue
Block a user