Remove . since path is already relative
This commit is contained in:
parent
9b8d6e7607
commit
2984c3bdfb
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@
|
||||||
<% for (const tag of htmlWebpackPlugin.tags.headTags) {
|
<% for (const tag of htmlWebpackPlugin.tags.headTags) {
|
||||||
let path = tag.attributes && tag.attributes.href;
|
let path = tag.attributes && tag.attributes.href;
|
||||||
if (path && path.includes("/Inter/")) { %>
|
if (path && path.includes("/Inter/")) { %>
|
||||||
<link rel="preload" as="font" href=".<%= path %>" crossorigin="anonymous"/>
|
<link rel="preload" as="font" href="<%= path %>" crossorigin="anonymous"/>
|
||||||
<% }
|
<% }
|
||||||
} %>
|
} %>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue