Skip to content

Commit 802398e

Browse files
committed
check for skipped request parameters renatomarinho#153
1 parent addd888 commit 802398e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Middleware/PageSpeed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ protected function shouldProcessPageSpeed($request, $response)
9292
$patterns = config('laravel-page-speed.skip', []);
9393

9494
foreach ($patterns as $pattern) {
95-
if ($request->is($pattern)) {
95+
if ($request->is($pattern)||$request->has($pattern)) {
9696
return false;
9797
}
9898
}

0 commit comments

Comments
 (0)