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:
commit
27b7138c58
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user