update URL for streams
This commit is contained in:
parent
da3e199c91
commit
ea2dfd0500
7 changed files with 25 additions and 8 deletions
|
|
@ -161,7 +161,7 @@ const FileTreeComponent: React.FC<{
|
|||
torrentId != null &&
|
||||
/\.(mp4|mkv|avi)$/.test(file.filename)
|
||||
) {
|
||||
return API.getTorrentStreamUrl(torrentId, file.id);
|
||||
return API.getTorrentStreamUrl(torrentId, file.id, file.filename);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue