1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

pull fonts from official repository

This commit is contained in:
dkanada 2020-10-25 20:20:06 +09:00
parent b912299718
commit 3bbebdb49b
6 changed files with 29 additions and 11 deletions

View file

@ -102,3 +102,12 @@ export function getPlugins() {
return [];
});
}
export function getFonts() {
return getConfig().then(config => {
return config.fonts;
}).catch(error => {
console.log('cannot get web config:', error);
return [];
});
}