Expose availability of GET /main/ostatus via instance
This commit is contained in:
parent
4ec9eeb3f8
commit
c59ee1f172
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue