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

We only accept ICS, so it didn't work.

Closes #1019

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-03-21 12:46:56 +01:00 committed by tykayn
parent 8620f2ff4a
commit 84b5bf339e

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