mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 01:05:42 +03:00
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) {
|
||||
let path = tag.attributes && tag.attributes.href;
|
||||
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