commit b1c79e582bfb7611d2ef2c126726ef472c65ed75
parent 4b8c9eb758151b814d325e1a0f4909d206bed7fe
Author: Martin Herkt <lachs0r@srsfckn.biz>
Date: Tue, 9 Jan 2018 08:26:11 +0100
add extension override for audio/flac
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/fhost.py b/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",