Skip to content

Commit

Permalink
Fix issue #35: resource should produce utf-8 encoding content-type (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzachz authored Apr 21, 2020
1 parent 5124128 commit 086c035
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ private CommenterToRecordTransformer createTransformer() {
}

@GET
@Produces(MediaType.TEXT_HTML)
@Produces("text/html; charset=utf-8")
public LeaderBoardView getLeaderBoard(@PathParam("period") String period) {
return new LeaderBoardView(store.get(period), createTransformer(), org.getName(), org.getHtmlUrl(), store.isLoaded(period), period);
}
Expand Down

0 comments on commit 086c035

Please sign in to comment.