mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-26 16:02:18 +00:00
Note our upgrade path for this functionality
This commit is contained in:
parent
902d4e4a4a
commit
76b166f040
|
@ -234,6 +234,7 @@ defmodule Pleroma.Web do
|
|||
Pleroma.Web.Endpoint.url()
|
||||
end
|
||||
|
||||
# TODO: Change to Phoenix.Router.routes/1 for Phoenix 1.6.0+
|
||||
def get_api_routes do
|
||||
Pleroma.Web.Router.__routes__()
|
||||
|> Enum.reject(fn r -> r.plug == Pleroma.Web.Fallback.RedirectController end)
|
||||
|
|
Loading…
Reference in a new issue