mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 21:28:06 +00:00
fix: replace http with https in mp3 url
This commit is contained in:
parent
81d65c2885
commit
f7ce068260
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ export default {
|
|||
|
||||
if (isLoggedIn) {
|
||||
getMP3(track.id).then(data => {
|
||||
commitMP3(data.data[0].url);
|
||||
commitMP3(data.data[0].url.replace(/^http:/, "https:"));
|
||||
});
|
||||
} else {
|
||||
commitMP3(`https://music.163.com/song/media/outer/url?id=${track.id}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue