aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authoreugenijm <eugenijm@protonmail.com>2021-03-06 23:53:45 +0300
committereugenijm <eugenijm@protonmail.com>2021-03-06 23:53:45 +0300
commit79febf96883083f85c0529c5e25566be5ee044d3 (patch)
tree2d485a89646250dd251e8fa7e489db0be31cba60 /lib
parent13aa98d6899ba1e4a37fa1fd3ddb1ac35ea6e136 (diff)
downloadpleroma-add-assets-to-static-file-constants.tar.gz
Added `assets` to the list of the reserved nicknames and static file constantsadd-assets-to-static-file-constants
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/constants.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/constants.ex b/lib/pleroma/constants.ex
index b24338cc6..f2059a0f3 100644
--- a/lib/pleroma/constants.ex
+++ b/lib/pleroma/constants.ex
@@ -25,7 +25,7 @@ defmodule Pleroma.Constants do
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)
+ ~w(index.html robots.txt assets 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"