mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2025-03-06 18:35:15 +08:00
fix: replace http with https in mp3 url
This commit is contained in:
parent
81d65c2885
commit
f7ce068260
@ -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…
x
Reference in New Issue
Block a user