set content-disposition to attachment instead of inline

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry authored and June committed 2024-05-05 16:28:21 -04:00
1 parent 42e3567153
commit 43c4dfc5df
2 files changed
+8 -6

No files matched your search

+1
View File
@@ -16,6 +16,7 @@ use crate::{services, utils, Error, Result};
#[derive(Debug)]
pub(crate) struct FileMeta {
#[allow(dead_code)]
pub(crate) content_disposition: Option<String>,
pub(crate) content_type: Option<String>,
pub(crate) file: Vec<u8>,