Merge branch 'bug/html-default-content-type' into 'master'

Make accept the default content-type on AP/HTML routes

See merge request framasoft/mobilizon!87
This commit is contained in:
Thomas Citharel 2019-03-05 12:30:33 +01:00
commit 625d0d37d5

View File

@ -23,7 +23,7 @@ defmodule MobilizonWeb.Router do
end
pipeline :activity_pub_and_html do
plug(:accepts, ["activity-json", "html"])
plug(:accepts, ["html", "activity-json"])
end
pipeline :rss do