X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fpleroma%2Fconstants.ex;h=cf8182d55a2d11486ca99716edb48b151f3b6dab;hb=8542d2efee86131350736a9be96713551e01f6ed;hp=4ba39b53faeef6baebb89788c599d26626325288;hpb=9b740cfb23e3bc507207e1971a2a168cdf1d23d3;p=akkoma diff --git a/lib/pleroma/constants.ex b/lib/pleroma/constants.ex index 4ba39b53f..cf8182d55 100644 --- a/lib/pleroma/constants.ex +++ b/lib/pleroma/constants.ex @@ -17,7 +17,15 @@ defmodule Pleroma.Constants do "announcement_count", "emoji", "context_id", - "deleted_activity_id" + "deleted_activity_id", + "pleroma_internal" ] ) + + const(static_only_files, + 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