From 5a585413795c980325ce1f9e5be7281db1745a87 Mon Sep 17 00:00:00 2001 From: freek Date: Sat, 17 Feb 2018 11:48:20 +0000 Subject: [PATCH] reorder config file --- config/csp.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config/csp.php b/config/csp.php index cfc0725..4e721bc 100644 --- a/config/csp.php +++ b/config/csp.php @@ -13,11 +13,6 @@ */ 'report_only_profile' => \Spatie\Csp\Profiles\Basic::class, - /* - * Headers will only be added if this setting is enabled - */ - 'enabled' => env('CSP_ENABLED', true), - /* * All violations against the csp policy will be reported to this url. * A great service you could use for this is https://report-uri.com/ @@ -25,4 +20,9 @@ * You can override this setting by calling `reportTo` on your profile. */ 'report_uri' => env('CSP_REPORT_URI', ''), + + /* + * Headers will only be added if this setting is enabled + */ + 'enabled' => env('CSP_ENABLED', true), ];