fix
This commit is contained in:
parent
6bc5db089a
commit
b7ae338e59
|
|
@ -10,7 +10,6 @@ export const prodIndex = (
|
||||||
Object.keys(g.deploy.content?.code.core || {})
|
Object.keys(g.deploy.content?.code.core || {})
|
||||||
.filter((e) => e.endsWith(".woff") || e.endsWith(".woff2"))
|
.filter((e) => e.endsWith(".woff") || e.endsWith(".woff2"))
|
||||||
.forEach((e) => {
|
.forEach((e) => {
|
||||||
const ext = e.split(".").pop();
|
|
||||||
preload.push(
|
preload.push(
|
||||||
` <link rel="preload" href="/${e}" as="font" crossorigin="anonymous">`
|
` <link rel="preload" href="/${e}" as="font" crossorigin="anonymous">`
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue