add extension override for audio/flac

This commit is contained in:
Martin Herkt 2018-01-09 08:26:11 +01:00
parent 4b8c9eb758
commit b1c79e582b
No known key found for this signature in database
GPG Key ID: C24B9CD04DC6AE7F

View File

@ -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",