mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 05:38:04 +00:00
feat: updates
This commit is contained in:
parent
ccebe0a67a
commit
9a52681687
37 changed files with 160 additions and 55332 deletions
|
|
@ -21,8 +21,8 @@ export function resizeImage(url: string, size: 'xs' | 'sm' | 'md' | 'lg'): strin
|
|||
lg: '1024',
|
||||
}
|
||||
|
||||
// from Apple Music
|
||||
if (url.includes('mzstatic.com')) {
|
||||
// from Apple Music
|
||||
return url.replace('{w}', sizeMap[size]).replace('{h}', sizeMap[size])
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue