Remove . since path is already relative
parent
9b8d6e7607
commit
2984c3bdfb
|
@ -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 New Issue