diff --git a/src/route/cache.rs b/src/route/cache.rs index d04d079..b3c38a4 100644 --- a/src/route/cache.rs +++ b/src/route/cache.rs @@ -58,7 +58,7 @@ pub(super) async fn hath( }; let file_size = info.size() as u64; let content_type = HeaderValue::from_maybe_shared(info.mime_type().to_string()).unwrap(); - let content_disposition = HeaderValue::from_maybe_shared(format!("inline;filename=\"{file_name}\"")).unwrap_or(DEFAULT_CD); + let content_disposition = HeaderValue::from_maybe_shared(format!("inline; filename=\"{file_name}\"")).unwrap_or(DEFAULT_CD); // Check cache hit if let Some(file) = data.cache_manager.get_file(&info).await {