Sort playlist and fix playlist URL copy
This commit is contained in:
parent
373520df8e
commit
b5b74876d6
2 changed files with 14 additions and 7 deletions
|
|
@ -152,6 +152,6 @@ export const API: RqbitAPI & { getVersion: () => Promise<string> } = {
|
|||
return url;
|
||||
},
|
||||
getPlaylistUrl: (index: number) => {
|
||||
return apiUrl + `/torrents/${index}/playlist`;
|
||||
return (apiUrl || window.origin) + `/torrents/${index}/playlist`;
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue