1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-05 02:29:54 +00:00

Fix JSON feed MIME type

This commit is contained in:
Timur Ismagilov 2023-11-10 00:43:33 +03:00
parent 103a3a0e7d
commit 1a77fbbb8c

View File

@ -114,7 +114,7 @@ func handlerRecentChangesAtom(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 (