Remove middleware bypass
This commit is contained in:
parent
aae2106658
commit
931ca98c02
1 changed files with 0 additions and 3 deletions
|
@ -23,9 +23,6 @@ class SecurityHeaders
|
||||||
|
|
||||||
public function handle($request, Closure $next)
|
public function handle($request, Closure $next)
|
||||||
{
|
{
|
||||||
if (App::environment(['testing', 'testing-ci'])) {
|
|
||||||
return $next($request);
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->removeUnwantedHeaders($this->unwantedHeaderList);
|
$this->removeUnwantedHeaders($this->unwantedHeaderList);
|
||||||
$response = $next($request);
|
$response = $next($request);
|
||||||
|
|
Loading…
Add table
Reference in a new issue