Expose availability of GET /main/ostatus via instance

This commit is contained in:
Tusooa Zhu 2022-08-20 21:19:31 -04:00
parent 4ec9eeb3f8
commit c59ee1f172
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224

View file

@ -98,7 +98,8 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView do
end, end,
if Config.get([:instance, :profile_directory]) do if Config.get([:instance, :profile_directory]) do
"profile_directory" "profile_directory"
end end,
"pleroma:get:main/ostatus"
] ]
|> Enum.filter(& &1) |> Enum.filter(& &1)
end end