Remove . since path is already relative

johannes/nuke-worker-loader
Johannes Marbach 2023-09-30 21:50:52 +02:00
parent 9b8d6e7607
commit 2984c3bdfb
1 changed files with 1 additions and 1 deletions

View File

@ -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"/>
<% } <% }
} %> } %>