mirror of
https://git.0x0.st/mia/0x0.git
synced 2026-01-09 20:11:46 +03:00
add extension override for audio/flac
This commit is contained in:
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["USE_X_SENDFILE"] = False
|
||||
app.config["FHOST_EXT_OVERRIDE"] = {
|
||||
"audio/flac" : ".flac",
|
||||
"image/gif" : ".gif",
|
||||
"image/jpeg" : ".jpg",
|
||||
"image/png" : ".png",
|
||||
|
||||
Reference in New Issue
Block a user