mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-12-04 18:19:54 +00:00
Fix JSON feed MIME type
This commit is contained in:
parent
103a3a0e7d
commit
1a77fbbb8c
@ -114,7 +114,7 @@ func handlerRecentChangesAtom(w http.ResponseWriter, rq *http.Request) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func handlerRecentChangesJSON(w http.ResponseWriter, rq *http.Request) {
|
func handlerRecentChangesJSON(w http.ResponseWriter, rq *http.Request) {
|
||||||
genericHandlerOfFeeds(w, rq, history.RecentChangesJSON, "JSON feed", "application/json")
|
genericHandlerOfFeeds(w, rq, history.RecentChangesJSON, "JSON feed", "application/feed+json")
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
Loading…
Reference in New Issue
Block a user