feat: add alternative mime type for fb2 (#15231)

This commit is contained in:
Nick Chusovitin authored and GitHub committed 2026-04-03 23:00:56 +02:00
1 parent 995ad0bdc4
commit bd1c3c63d9
1 file changed
+1
+1
View File
@@ -1562,6 +1562,7 @@ function CreDocument:register(registry)
registry:addProvider("epub", "application/epub", self, 100) -- Alternative mimetype for OPDS.
registry:addProvider("epub3", "application/epub+zip", self, 100)
registry:addProvider("fb2", "application/fb2", self, 90)
registry:addProvider("fb2", "application/x-fictionbook+xml", self, 90) -- Alternative mimetype for OPDS.
registry:addProvider("fb2", "text/fb2+xml", self, 90) -- Alternative mimetype for OPDS.
registry:addProvider("fb2.zip", "application/zip", self, 90)
registry:addProvider("fb2.zip", "application/fb2+zip", self, 90) -- Alternative mimetype for OPDS.