mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Fix thumbnails api
This commit is contained in:
parent
5a4575a93d
commit
6eb21b7ca3
@ -119,4 +119,18 @@ public class VideoApi : Controller
|
||||
{
|
||||
await _Proxy($"{path}/subtitle/{name}");
|
||||
}
|
||||
|
||||
[HttpGet("{path:base64}/thumbnails.png")]
|
||||
[PartialPermission(Kind.Read)]
|
||||
public async Task GetThumbnails(string path)
|
||||
{
|
||||
await _Proxy($"{path}/thumbnails.png");
|
||||
}
|
||||
|
||||
[HttpGet("{path:base64}/thumbnails.vtt")]
|
||||
[PartialPermission(Kind.Read)]
|
||||
public async Task GetThumbnailsVtt(string path)
|
||||
{
|
||||
await _Proxy($"{path}/thumbnails.vtt");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user