mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 21:28:06 +00:00
feat: updates
This commit is contained in:
parent
884f3df41a
commit
c6c59b2cd9
84 changed files with 3531 additions and 2616 deletions
|
|
@ -35,6 +35,10 @@ export function resizeImage(
|
|||
)
|
||||
}
|
||||
|
||||
export function toHttps(url: string | undefined): string {
|
||||
return url ? url.replace(/^http:/, 'https:') : ''
|
||||
}
|
||||
|
||||
export const storage = {
|
||||
get(key: string): object | [] | null {
|
||||
const text = localStorage.getItem(key)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue