git://git.nikiroo.be
/
fanfix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1ef24e
)
fix content type for cover
author
Niki Roo
<niki@nikiroo.be>
Wed, 13 May 2020 12:20:11 +0000
(14:20 +0200)
committer
Niki Roo
<niki@nikiroo.be>
Wed, 13 May 2020 12:20:11 +0000
(14:20 +0200)
src/be/nikiroo/fanfix/library/WebLibraryServer.java
patch
|
blob
|
blame
|
history
diff --git
a/src/be/nikiroo/fanfix/library/WebLibraryServer.java
b/src/be/nikiroo/fanfix/library/WebLibraryServer.java
index 26de6a862f58086f18b195811789715c307cb7f6..b4a6e4bb25f3776c819a43e9235f58b5c63b7788 100644
(file)
--- a/
src/be/nikiroo/fanfix/library/WebLibraryServer.java
+++ b/
src/be/nikiroo/fanfix/library/WebLibraryServer.java
@@
-713,6
+713,8
@@
public class WebLibraryServer implements Runnable {
if (img != null) {
in = img.newInputStream();
}
+ // TODO: get correct image type
+ mimeType = "image/png";
} else if ("metadata".equals(chapterStr)) {
MetaData meta = meta(luid, whitelist);
JSONObject json = JsonIO.toJson(meta);