[#114] Added email confirmation resend action. Added tests
[akkoma] / lib / pleroma / web / ostatus / ostatus_controller.ex
index 9dfcf0f95a9f94a5d1bf9ff1d8503acd821b6fbf..6005eadb2e2f447b4f1d996ad4ae373a3771cb08 100644 (file)
@@ -136,7 +136,7 @@ defmodule Pleroma.Web.OStatus.OStatusController do
         "html" ->
           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"))
 
         _ ->
           represent_activity(conn, format, activity, user)