Fix test Returns JSON when format is not supported (Pleroma.Web.WebFinger.WebFingerControllerTest)

If we want to return JSON when a badly behaving client requests text/html, we still have to accept it at the Plug
This commit is contained in:
Mark Felder 2025-06-05 17:11:16 -07:00
commit db65b35ca3

View file

@ -189,7 +189,7 @@ defmodule Pleroma.Web.Router do
end
pipeline :well_known do
plug(:accepts, ["activity+json", "json", "jrd", "jrd+json", "xml", "xrd+xml"])
plug(:accepts, ["activity+json", "json", "jrd", "jrd+json", "xml", "xrd+xml", "html"])
end
pipeline :config do