UI link to video files
This commit is contained in:
parent
f0788f2c4a
commit
94589a21fe
11 changed files with 64 additions and 19 deletions
|
|
@ -140,4 +140,7 @@ export const API: RqbitAPI & { getVersion: () => Promise<string> } = {
|
|||
const r = await makeRequest("GET", "/");
|
||||
return r.version;
|
||||
},
|
||||
getTorrentStreamUrl: (index: number, file_id: number) => {
|
||||
return apiUrl + `/torrents/${index}/stream/${file_id}`;
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue