Fix event html representation with no Accept header

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2019-12-18 10:11:59 +01:00
parent 13530f3611
commit 846b4e9b77
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -14,7 +14,6 @@ defmodule MobilizonWeb.Router do
end end
pipeline :activity_pub_signature do pipeline :activity_pub_signature do
plug(:accepts, ["activity-json", "html"])
plug(MobilizonWeb.HTTPSignaturePlug) plug(MobilizonWeb.HTTPSignaturePlug)
plug(MobilizonWeb.Plugs.MappedSignatureToIdentity) plug(MobilizonWeb.Plugs.MappedSignatureToIdentity)
end end