diff --git a/src/Middleware/AddHttp2ServerPush.php b/src/Middleware/AddHttp2ServerPush.php index 70c5979..253cf28 100644 --- a/src/Middleware/AddHttp2ServerPush.php +++ b/src/Middleware/AddHttp2ServerPush.php @@ -50,6 +50,7 @@ protected function generateAndAttachLinkHeaders(Response $response, $limit = nul return $this->buildLinkHeaderString($url); }) ->filter() + ->unique() ->take($limit) ->implode(',');