Merge branch 'docs/goto-libera' into 'develop'
[akkoma] / lib / pleroma / web / plugs / frontend_static.ex
index eb385e94dfc97020acd05ba0b3d988fa9e1007a9..e7c943b41375765562c8d25b4dee7af0518fe995 100644 (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