Deprecate Pleroma.Web.base_url/0
[akkoma] / lib / pleroma / constants.ex
index 9ee836d5d8a4c58784aa21003e2c0c8be0b10b2b..bdca8279c82f8ac6e307d82063b65365a4f41fff 100644 (file)
@@ -19,7 +19,7 @@ defmodule Pleroma.Constants do
       "context_id",
       "deleted_activity_id",
       "pleroma_internal",
-      "application"
+      "generator"
     ]
   )
 
@@ -28,5 +28,5 @@ defmodule Pleroma.Constants do
       ~w(index.html robots.txt static static-fe finmoji emoji packs sounds images instance sw.js sw-pleroma.js favicon.png schemas doc embed.js embed.css)
   )
 
-  def as_local_public, do: Pleroma.Web.base_url() <> "/#Public"
+  def as_local_public, do: Pleroma.Web.Endpoint.url() <> "/#Public"
 end