Pleroma.Web.Endpoint: Whitelist schemas directory

This commit is contained in:
Haelwenn (lanodan) Monnier 2018-11-08 20:22:12 +01:00
parent 934125695d
commit 2fab32ab61
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE

View file

@ -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