Make accept the default content-type on AP/HTML routes
Fixes case with Accept: */* getting AP instead of HTML Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
bacd1bfb02
commit
0f107606b1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user