Skip to content

Commit

Permalink
Merge pull request #19 from SolidBunch/assets
Browse files Browse the repository at this point in the history
small fix for http2 push
  • Loading branch information
zyv4yk committed Feb 13, 2019
2 parents 7b70184 + 8f99280 commit 953056e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Controller/HTTP2.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function http2_link_preload_header( $src ) {
$preload_src = apply_filters( 'http2_link_preload_src', $src );
if ( ! empty( $preload_src ) ) {
$header = sprintf(
'Link: <%s>; rel=preload; as=%s; nopush',
'Link: <%s>; rel=preload; as=%s; nopush;',
esc_url( $this->http2_link_url_to_relative_path( $preload_src ) ),
sanitize_html_class( $this->http2_link_resource_hint_as( current_filter() ) )
);
Expand Down

0 comments on commit 953056e

Please sign in to comment.