Skip to content
Permalink
Browse files

Merge pull request #1825 from zwrawr/svg-preload

fix svg preload warning
  • Loading branch information...
mikekasprzak committed Jun 2, 2019
2 parents 7749776 + 82fc072 commit 516a2bebdfac021bfb07ac8ed5cbccc146d8f76c
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 516a2be

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