mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-23 00:14:48 +00:00
Fix GraphiQL in prod as well
Closes #708 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
f964afa465
commit
4df1eab2b2
1 changed files with 2 additions and 2 deletions
|
@ -15,8 +15,8 @@ defmodule Mobilizon.Web.Router do
|
||||||
plug(Mobilizon.Web.Plugs.SetLocalePlug)
|
plug(Mobilizon.Web.Plugs.SetLocalePlug)
|
||||||
|
|
||||||
plug(Mobilizon.Web.Plugs.HTTPSecurityPlug,
|
plug(Mobilizon.Web.Plugs.HTTPSecurityPlug,
|
||||||
script_src: ["cdn.jsdelivr.net"],
|
script_src: ["cdn.jsdelivr.net 'sha256-zkCwvTwqwJMew/8TKv7bTLh94XRSNBvT/o/NZCuf5Kc='"],
|
||||||
style_src: ["cdn.jsdelivr.net"],
|
style_src: ["cdn.jsdelivr.net 'unsafe-inline'"],
|
||||||
font_src: ["cdn.jsdelivr.net"]
|
font_src: ["cdn.jsdelivr.net"]
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue