From b1c79e582bfb7611d2ef2c126726ef472c65ed75 Mon Sep 17 00:00:00 2001 From: Martin Herkt Date: Tue, 9 Jan 2018 08:26:11 +0100 Subject: [PATCH] add extension override for audio/flac --- fhost.py | 1 + 1 file changed, 1 insertion(+) 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",