diff --git a/app/Http/Middleware/SecureHeaders.php b/app/Http/Middleware/SecureHeaders.php index 3a34c8c..f883343 100644 --- a/app/Http/Middleware/SecureHeaders.php +++ b/app/Http/Middleware/SecureHeaders.php @@ -54,7 +54,11 @@ class SecureHeaders // "font-src 'self' data:;", // ! Using CKEditor will must have unsafe-inline style // phpcs:ignore Generic.Files.LineLength.TooLong - "style-src 'self' 'unsafe-inline';", + 'style-src ' . implode(" ", [ + '\'self\'', + '\'unsafe-inline\'', + 'https://cdn.jsdelivr.net', + ]) . ';', // ! If you dont use ckeditor use this // "style-src 'self' 'nonce-$nonce';", // phpcs:ignore Generic.Files.LineLength.TooLong