feat(modules/web): 支持网络字体

close #4210
This commit is contained in:
Xwite
2024-09-29 19:58:10 +08:00
parent bf91a6f206
commit 82bf7e709e
4 changed files with 62 additions and 7 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ const getProxyCoverUrl = (coverUrl) => {
/**
* 从阅读获取需要特定处理的图片
* @param {string} src
* @param {`{number}`} width
* @param {number|`${number}`} width
*/
const getProxyImageUrl = (src, width) => {
if (src.startsWith(legado_http_origin)) return src