mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
ShowAPI: Fixing fonts path
This commit is contained in:
parent
33b74cac37
commit
1ccb30ad26
@ -386,7 +386,7 @@ namespace Kyoo.Api
|
|||||||
string path = _files.Combine(await _files.GetExtraDirectory(show), "Attachments");
|
string path = _files.Combine(await _files.GetExtraDirectory(show), "Attachments");
|
||||||
return (await _files.ListFiles(path))
|
return (await _files.ListFiles(path))
|
||||||
.ToDictionary(Path.GetFileNameWithoutExtension,
|
.ToDictionary(Path.GetFileNameWithoutExtension,
|
||||||
x => $"{BaseURL}api/shows/{slug}/fonts/{Path.GetFileName(x)}");
|
x => $"{BaseURL}/api/shows/{slug}/fonts/{Path.GetFileName(x)}");
|
||||||
}
|
}
|
||||||
catch (ItemNotFoundException)
|
catch (ItemNotFoundException)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user