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
1 changed files with 2 additions and 1 deletions

View File

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