Add a few more mimetypes for OPDS (#7258)
Doesn't include application/zip as CBZ, but it will be downloaded (as ZIP). Doesn't include CBR since that's not supported. Closes #7218, closes #5997.
This commit is contained in:
1 parent
82f0e68118
commit
ac668ecb64
3 files changed
+5
No files matched your search
@@ -150,6 +150,8 @@ end
|
||||
|
||||
function DjvuDocument:register(registry)
|
||||
registry:addProvider("djvu", "image/vnd.djvu", self, 100)
|
||||
registry:addProvider("djvu", "application/djvu", self, 100) -- Alternative mimetype for OPDS.
|
||||
registry:addProvider("djvu", "image/x-djvu", self, 100) -- Alternative mimetype for OPDS.
|
||||
registry:addProvider("djv", "image/vnd.djvu", self, 100)
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user