Merge branch 'feature/new-user-routes' into 'develop'
[akkoma] / lib / pleroma / web / router.ex
index 60342cfb447644fc2609056b51b52b6ecaea633f..dd1985d6ee1b91a16e0c88517f0edc9fa1e49f27 100644 (file)
@@ -459,7 +459,7 @@ defmodule Fallback.RedirectController do
   def redirector(conn, _params) do
     conn
     |> put_resp_content_type("text/html")
-    |> send_file(200, Application.app_dir(:pleroma, "priv/static/index.html"))
+    |> send_file(200, Pleroma.Plugs.InstanceStatic.file_path("index.html"))
   end
 
   def registration_page(conn, params) do