Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

Single Download Failed on Epubs (#319)

Joseph Milazzob25335acbdda
diff --git a/API/Controllers/DownloadController.cs b/API/Controllers/DownloadController.cs
index f0a006120..6e7408fa4 100644
--- a/API/Controllers/DownloadController.cs
+++ b/API/Controllers/DownloadController.cs
@@ -81,6 +81,10 @@ namespace API.Controllers
{
".cbz" => "application/zip",
".cbr" => "application/vnd.rar",
+ ".cb7" => "application/x-compressed",
+ ".epub" => "application/epub+zip",
+ ".7z" => "application/x-7z-compressed",
+ ".7zip" => "application/x-7z-compressed",
_ => contentType
};
}