mirror of
https://github.com/dpnmw/community-landing.git
synced 2026-03-18 09:27:16 +00:00
UI Improvement v4
Fix broken CSS imports and addition of mp4/youtube play in hero area
This commit is contained in:
@@ -44,7 +44,9 @@ after_initialize do
|
||||
"script-src 'self' 'unsafe-inline'; " \
|
||||
"style-src 'self' 'unsafe-inline'; " \
|
||||
"img-src 'self' #{base_url} data: https:; " \
|
||||
"font-src 'self' #{base_url}; " \
|
||||
"font-src 'self' #{base_url} https://fonts.gstatic.com; " \
|
||||
"media-src 'self' https:; " \
|
||||
"frame-src https://www.youtube.com https://www.youtube-nocookie.com; " \
|
||||
"frame-ancestors 'self'"
|
||||
response.headers["Content-Security-Policy"] = csp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user