From: Haelwenn (lanodan) Monnier Date: Thu, 8 Nov 2018 19:22:12 +0000 (+0100) Subject: Pleroma.Web.Endpoint: Whitelist schemas directory X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=2fab32ab61d305bbea13c27ac23b1180b638c4cd;p=akkoma Pleroma.Web.Endpoint: Whitelist schemas directory --- diff --git a/lib/pleroma/web/endpoint.ex b/lib/pleroma/web/endpoint.ex index 6673ab576..b38f33863 100644 --- a/lib/pleroma/web/endpoint.ex +++ b/lib/pleroma/web/endpoint.ex @@ -17,7 +17,7 @@ defmodule Pleroma.Web.Endpoint do Plug.Static, at: "/", from: :pleroma, - only: ~w(index.html static finmoji emoji packs sounds images instance sw.js favicon.png) + only: ~w(index.html static finmoji emoji packs sounds images instance sw.js favicon.png schemas) ) # Code reloading can be explicitly enabled under the