summaryrefslogtreecommitdiff
path: root/lib/pleroma/web/plugs/frontend_static.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pleroma/web/plugs/frontend_static.ex')
-rw-r--r--lib/pleroma/web/plugs/frontend_static.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/plugs/frontend_static.ex b/lib/pleroma/web/plugs/frontend_static.ex
index eb385e94d..e7c943b41 100644
--- a/lib/pleroma/web/plugs/frontend_static.ex
+++ b/lib/pleroma/web/plugs/frontend_static.ex
@@ -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