Skip to content

Commit

Permalink
fix: negate op
Browse files Browse the repository at this point in the history
  • Loading branch information
dewanakl committed Dec 29, 2023
1 parent 3c646bc commit 1af0425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Middleware/GzipMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function handle(Request $request, Closure $next): Stream|Respond
return $response;
}

if (str_contains($request->server->get('HTTP_ACCEPT_ENCODING'), 'gzip')) {
if (!str_contains($request->server->get('HTTP_ACCEPT_ENCODING'), 'gzip')) {
return $response;
}

Expand Down

0 comments on commit 1af0425

Please sign in to comment.