From 1a77fbbb8c60f22fc052229227d20a51747f0b3b Mon Sep 17 00:00:00 2001 From: Timur Ismagilov Date: Fri, 10 Nov 2023 00:43:33 +0300 Subject: [PATCH] Fix JSON feed MIME type --- history/histweb/histview.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/history/histweb/histview.go b/history/histweb/histview.go index 1f59d77..a761d43 100644 --- a/history/histweb/histview.go +++ b/history/histweb/histview.go @@ -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 (