Pleroma.Constants.as_local_public/0 --> Pleroma.Web.ActivityPub.Utils.as_local_public/0

Move as_local_public/0 to stop making modules depend on Web at compile-time
This commit is contained in:
Alex Gleason 2021-05-31 13:39:15 -05:00
commit 10dfe81479
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
7 changed files with 10 additions and 9 deletions

View file

@ -27,6 +27,4 @@ defmodule Pleroma.Constants do
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"
end