Deprecate Pleroma.Web.base_url/0
[akkoma] / lib / pleroma / web / views / masto_fe_view.ex
index b9055cb7f930cfc8ca3c9da480f1af01a3118d4b..63a9c8179ea268b3955039a08da9f6184276a089 100644 (file)
@@ -78,8 +78,8 @@ defmodule Pleroma.Web.MastoFEView do
       theme_color: Config.get([:manifest, :theme_color]),
       background_color: Config.get([:manifest, :background_color]),
       display: "standalone",
-      scope: Pleroma.Web.base_url(),
-      start_url: masto_fe_path(Pleroma.Web.Endpoint, :index, ["getting-started"]),
+      scope: Pleroma.Web.Endpoint.url(),
+      start_url: Routes.masto_fe_path(Pleroma.Web.Endpoint, :index, ["getting-started"]),
       categories: [
         "social"
       ],