Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
mertasan authored and github-actions[bot] committed Dec 24, 2023
1 parent 7ed57aa commit 40ac1d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CloudflarePagesMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function handle(Request $request, Closure $next): Response
{
/** @var Response $response */
$response = $next($request);

if ($this->shouldCacheResponse($request, $response)) {
$ttl = $this->getCacheTTL($request);
$response->headers->add(['Cache-Control' => "max-age=$ttl, public"]);
Expand Down

0 comments on commit 40ac1d5

Please sign in to comment.