mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
Remove custom policy
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Policies;
|
||||
|
||||
use Spatie\Csp\Directive;
|
||||
use Spatie\Csp\Policies\Basic;
|
||||
|
||||
class CustomCsp extends Basic
|
||||
{
|
||||
/**
|
||||
* Create a new policy instance.
|
||||
*/
|
||||
public function configure()
|
||||
{
|
||||
parent::configure();
|
||||
$this->addDirective(Directive::SCRIPT, 'self')
|
||||
->addDirective(Directive::STYLE, 'self')
|
||||
->addNonceForDirective(Directive::SCRIPT)
|
||||
->addNonceForDirective(Directive::STYLE);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user