return inline Content-Disposition based on the detected file type (e.g. image/video)

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-05-07 16:36:22 -04:00 committed by June
parent d4d9f92ade
commit 2231ccf118
3 changed files with 60 additions and 11 deletions

View file

@ -19,6 +19,8 @@ rust-version = "1.77.0"
[dependencies]
console-subscriber = { version = "0.2", optional = true }
infer = { version = "0.3", default-features = false }
# for hot lib reload
hot-lib-reloader = { version = "^0.7", optional = true }