mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-18 14:18:03 +00:00
feat: updates
This commit is contained in:
parent
08abf8229f
commit
fb21405bf9
33 changed files with 699 additions and 361 deletions
|
|
@ -20,7 +20,10 @@ export function resizeImage(
|
|||
if (!Object.keys(sizeMap).includes(size)) {
|
||||
console.error(`Invalid cover size: ${size}`)
|
||||
}
|
||||
return `${url}?param=${sizeMap[size]}y${sizeMap[size]}`
|
||||
return `${url}?param=${sizeMap[size]}y${sizeMap[size]}`.replace(
|
||||
'http://',
|
||||
'https://'
|
||||
)
|
||||
}
|
||||
|
||||
export const storage = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue