release
This commit is contained in:
@ -62,14 +62,14 @@ return [
|
||||
/**
|
||||
* The color mode used by default.
|
||||
*/
|
||||
'defaultColorMode' => 'system', // system, light, dark
|
||||
'defaultColorMode' => 'light', // system, light, dark
|
||||
|
||||
/**
|
||||
* When true, a switch is displayed to let admins choose their favorite theme mode.
|
||||
* When false, the theme will only use the "defaultColorMode" set above.
|
||||
* In case "defaultColorMode" is null, system is the default.
|
||||
*/
|
||||
'showColorModeSwitcher' => true,
|
||||
'showColorModeSwitcher' => false,
|
||||
|
||||
/**
|
||||
* Fix the top-header component (present in "vertical_transparent") and the menu when the layout type is set as "horizontal".
|
||||
|
35
config/csp.php
Normal file
35
config/csp.php
Normal file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
* A policy will determine which CSP headers will be set. A valid CSP policy is
|
||||
* any class that extends `Spatie\Csp\Policies\Policy`
|
||||
*/
|
||||
//'policy' => Spatie\Csp\Policies\Basic::class,
|
||||
'policy' => App\Support\MyCustomPolicy::class,
|
||||
|
||||
/*
|
||||
* This policy which will be put in report only mode. This is great for testing out
|
||||
* a new policy or changes to existing csp policy without breaking anything.
|
||||
*/
|
||||
'report_only_policy' => '',
|
||||
|
||||
/*
|
||||
* All violations against the policy will be reported to this url.
|
||||
* A great service you could use for this is https://report-uri.com/
|
||||
*
|
||||
* You can override this setting by calling `reportTo` on your policy.
|
||||
*/
|
||||
'report_uri' => env('CSP_REPORT_URI', ''),
|
||||
|
||||
/*
|
||||
* Headers will only be added if this setting is set to true.
|
||||
*/
|
||||
'enabled' => env('CSP_ENABLED', true),
|
||||
|
||||
/*
|
||||
* The class responsible for generating the nonces used in inline tags and headers.
|
||||
*/
|
||||
'nonce_generator' => Spatie\Csp\Nonce\RandomString::class,
|
||||
];
|
Reference in New Issue
Block a user