Pleroma.Web.get_api_routes/0 --> Pleroma.Web.Router.get_api_routes/0

Reduce recompilation time by breaking compile-time cycles
This commit is contained in:
Alex Gleason 2021-05-21 14:47:11 -05:00
commit c23b81e399
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
4 changed files with 14 additions and 14 deletions

View file

@ -10,7 +10,7 @@ defmodule Pleroma.Web.Plugs.FrontendStatic do
"""
@behaviour Plug
@api_routes Pleroma.Web.get_api_routes()
@api_routes Pleroma.Web.Router.get_api_routes()
def file_path(path, frontend_type \\ :primary) do
if configuration = Pleroma.Config.get([:frontends, frontend_type]) do