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
parent 0fe6d54eb3
commit f043ec32d1
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

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