Insert text representation of hashtags into object["hashtags"]
[akkoma] / lib / pleroma / constants.ex
index 06174f624a6d4d80a1c457a74f5e888122a5b516..8f265715c3c2e6f0778aa4941c750ba78c304204 100644 (file)
@@ -18,12 +18,15 @@ defmodule Pleroma.Constants do
       "emoji",
       "context_id",
       "deleted_activity_id",
-      "pleroma_internal"
+      "pleroma_internal",
+      "hashtags"
     ]
   )
 
   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)
+      ~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