diff --git a/app/Middleware/GzipMiddleware.php b/app/Middleware/GzipMiddleware.php index 51e3630..9446dcd 100644 --- a/app/Middleware/GzipMiddleware.php +++ b/app/Middleware/GzipMiddleware.php @@ -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; }