Fix signatures for relay

The plugs were missing

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2019-12-17 13:36:25 +01:00
parent 86adcd3714
commit 153a4315ef

View File

@ -20,6 +20,8 @@ defmodule MobilizonWeb.Router do
end
pipeline :relay do
plug(MobilizonWeb.HTTPSignaturePlug)
plug(MobilizonWeb.Plugs.MappedSignatureToIdentity)
plug(:accepts, ["activity-json", "json"])
end