Skip to content

Commit 90382fe

Browse files
authored
Update MinifyResponse.php
1 parent 5cfff1d commit 90382fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Nckg/Minify/Middleware/MinifyResponse.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ public function handle($request, Closure $next)
2020
/** @var Response $response */
2121
$response = $next($request);
2222

23-
if (app()->isLocal()) {
23+
if (! app()->isLocal()) {
2424
$response->setContent((new Minifier)->html($response->getContent()));
2525
}
2626

2727
return $response;
2828
}
29-
}
29+
}

0 commit comments

Comments
 (0)