Skip to content
Permalink
Browse files

fix svg preload warning

  • Loading branch information...
zwrawr committed Jun 2, 2019
1 parent 7749776 commit 82fc072f9acf74193eda06ed64631c3e8880de83
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/main.php
@@ -41,7 +41,7 @@
if ( !isset($_GET['nopreload']) ) {
header( "Link: <".JS_FILE.">; rel=preload; as=script".LINK_SUFFIX, false );
header( "Link: <".CSS_FILE.">; rel=preload; as=style".LINK_SUFFIX, false );
header( "Link: <".SVG_FILE.">; rel=preload".LINK_SUFFIX, false );
header( "Link: <".SVG_FILE.">; rel=preload; as=fetch; crossorigin".LINK_SUFFIX, false );
// header( "Link: <".FONT_FILE.">; rel=preload; as=style", false );
}
//header("Link: </blah">; rel=canonical"); // https://yoast.com/rel-canonical/

0 comments on commit 82fc072

Please sign in to comment.
You can’t perform that action at this time.