Merge branch 'allow-xml-accept-header' into 'main'

Thunderbird 91+ seems to send Accept: XML when doing any query

Closes #1019

See merge request framasoft/mobilizon!1183
This commit is contained in:
Thomas Citharel 2022-03-21 12:42:35 +00:00
commit 27b7138c58

View file

@ -58,7 +58,7 @@ defmodule Mobilizon.Web.Router do
pipeline :atom_and_ical do
plug(:put_secure_browser_headers)
plug(:accepts, ["atom", "ics", "html"])
plug(:accepts, ["atom", "ics", "html", "xml"])
end
pipeline :exports do