projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
902d4e4
)
Note our upgrade path for this functionality
author
Mark Felder
<feld@feld.me>
Thu, 25 Feb 2021 19:08:36 +0000
(13:08 -0600)
committer
Mark Felder
<feld@feld.me>
Thu, 25 Feb 2021 19:08:36 +0000
(13:08 -0600)
lib/pleroma/web.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web.ex
b/lib/pleroma/web.ex
index a638bb1983d5cebf639871061c38a1de82188284..8630f244b8505dc5bba489fa88f72061f1b65396 100644
(file)
--- a/
lib/pleroma/web.ex
+++ b/
lib/pleroma/web.ex
@@
-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)