Skip to content
This repository has been archived by the owner on May 23, 2020. It is now read-only.

Commit

Permalink
Fixed HTTP/2 Push of styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Norbert Boros committed Jan 31, 2020
1 parent 1e13950 commit 2e7d76c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Engine/ZF3TurboHTTP2Engine.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function __construct($response, $content, $request)

public function build_css()
{
preg_match_all('/<link.*?href=["\']+(.*?)["\']+/im', $this->content, $matches, PREG_SET_ORDER, 0);
preg_match_all('/<link rel="stylesheet".*?href=["\']+(.*?)["\']+/im', $this->content, $matches, PREG_SET_ORDER, 0);

foreach($matches as $mm)
{
Expand Down

0 comments on commit 2e7d76c

Please sign in to comment.