From 27d4eef50442355b254abe56c12fd83aae81a450 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Tue, 27 Aug 2019 17:33:24 +0200 Subject: [PATCH] allow host for icons --- liquet/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liquet/functions.php b/liquet/functions.php index c1cf904..8f5c9d9 100644 --- a/liquet/functions.php +++ b/liquet/functions.php @@ -8,7 +8,7 @@ add_theme_support( 'post-thumbnails' ); add_filter( 'wp_headers', function ( $headers ) { - $headers['Content-Security-Policy'] = "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; report-uri csp@nicco.io"; + $headers['Content-Security-Policy'] = "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https://s.w.org; report-uri csp@nicco.io"; $headers['X-Content-Type-Options'] = 'nosniff'; $headers['X-Frame-Options'] = "deny"; $headers['Strict-Transport-Security'] = "max-age=31536000";