don't load index.json as font

This commit is contained in:
2025-12-05 16:32:24 -08:00
parent ef5bce1103
commit 050c6b31f8
+1
View File
@@ -31,6 +31,7 @@
.then(response => response.json())
.then(/** @type {string[]} */ fontFileNames => {
for (const fontFileName of fontFileNames) {
if(fontFileName===fonts_index) continue
const fontName = fontFileName.split('.')[0]
const fontURL = encodeURI(alt_fonts + fontFileName)
// @ts-ignore FontManager is not documented