summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Herkt <lachs0r@srsfckn.biz>2018-01-09 08:26:11 +0100
committerMartin Herkt <lachs0r@srsfckn.biz>2018-01-09 08:26:11 +0100
commitb1c79e582bfb7611d2ef2c126726ef472c65ed75 (patch)
treeff7599f8ad37e9f8b44cd01498db9319f99af330
parent4b8c9eb758151b814d325e1a0f4909d206bed7fe (diff)
add extension override for audio/flac
-rwxr-xr-xfhost.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/fhost.py b/fhost.py
index 6706343..0533ec0 100755
--- 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",