From 79febf96883083f85c0529c5e25566be5ee044d3 Mon Sep 17 00:00:00 2001 From: eugenijm Date: Sat, 6 Mar 2021 23:53:45 +0300 Subject: Added `assets` to the list of the reserved nicknames and static file constants --- lib/pleroma/constants.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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" -- cgit v1.2.3