aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/constants.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pleroma/constants.ex')
-rw-r--r--lib/pleroma/constants.ex12
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/pleroma/constants.ex b/lib/pleroma/constants.ex
index 0bf20cdd0..06174f624 100644
--- a/lib/pleroma/constants.ex
+++ b/lib/pleroma/constants.ex
@@ -1,5 +1,5 @@
# Pleroma: A lightweight social networking server
-# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Constants do
@@ -9,13 +9,21 @@ defmodule Pleroma.Constants do
const(object_internal_fields,
do: [
+ "reactions",
+ "reaction_count",
"likes",
"like_count",
"announcements",
"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)
+ )
end