mirror of
https://github.com/d-fi/d-fi-core.git
synced 2025-07-27 07:34:42 +02:00
update endpoint
This commit is contained in:
parent
40e88ac1e9
commit
1b87805d82
@ -75,5 +75,5 @@ export const decryptDownload = (source: Buffer, trackId: string) => {
|
||||
export const getTrackDownloadUrl = (track: trackType, quality: number) => {
|
||||
const cdn = track.MD5_ORIGIN[0]; // cdn destination
|
||||
const filename = getSongFileName(track, quality); // encrypted file name
|
||||
return `http://e-cdn-proxy-${cdn}.deezer.com/mobile/1/${filename}`;
|
||||
return `http://e-cdn-proxy-${cdn}.deezer.com/api/1/${filename}`;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user