credocument: epub alternative mimetype (#10575)

Used by Flibusta OPDS.
reviewable/pr10582/r1
hius07 11 months ago committed by GitHub
parent 1f62091b73
commit 1d4e256c82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1510,6 +1510,7 @@ function CreDocument:register(registry)
registry:addProvider("doc", "application/msword", self, 90)
registry:addProvider("docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", self, 90)
registry:addProvider("epub", "application/epub+zip", self, 100)
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", "text/fb2+xml", self, 90) -- Alternative mimetype for OPDS.

Loading…
Cancel
Save