Skip to content

Commit

Permalink
Fixed typo, removed cache-control from early hints
Browse files Browse the repository at this point in the history
  • Loading branch information
indykoning authored Dec 22, 2024
1 parent d630c8a commit 6c33e73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Middleware/AddHttp3EarlyHints.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ public function handle(Request $request, Closure $next, ?int $sizeLimit = null):
return $response;
}

if (config('http3earlyhints.set_103')) {
if (config('http3earlyhints.send_103')) {
$response = new Response;
$response->headers->remove('cache-control');
$this->addLinkHeaders($response, $linkHeaders);
$response->sendHeaders(103);

Expand Down

0 comments on commit 6c33e73

Please sign in to comment.