aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-04-16 15:27:54 +0300
committerGravatar Vitaly Takmazov2018-04-16 15:27:54 +0300
commita27d737896aafc392c0455a9789895386c5e1cf9 (patch)
tree8a27aa0926c924914572a181ca113a957798c804 /juick-server/src/main
parenta1703a67b166fd2e1616acb4e9ba0cdb218b521c (diff)
server: fix gif content type
Diffstat (limited to 'juick-server/src/main')
-rw-r--r--juick-server/src/main/java/com/juick/server/api/Messages.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/main/java/com/juick/server/api/Messages.java b/juick-server/src/main/java/com/juick/server/api/Messages.java
index 05ce504f..8142a179 100644
--- a/juick-server/src/main/java/com/juick/server/api/Messages.java
+++ b/juick-server/src/main/java/com/juick/server/api/Messages.java
@@ -156,7 +156,7 @@ public class Messages {
}
return NOT_FOUND;
}
- @GetMapping("/thread/mark_read/{mid}-{rid}.gif")
+ @GetMapping(value = "/thread/mark_read/{mid}-{rid}.gif", produces = MediaType.IMAGE_GIF_VALUE)
public byte[] markThreadRead(@PathVariable int mid, @PathVariable int rid) throws IOException {
User visitor = UserUtils.getCurrentUser();
if (visitor.getUid() > 0) {