ShowAPI: Fixing fonts path

This commit is contained in:
Zoe Roux 2021-08-13 12:03:02 +02:00
parent 33b74cac37
commit 1ccb30ad26

View File

@ -386,7 +386,7 @@ namespace Kyoo.Api
string path = _files.Combine(await _files.GetExtraDirectory(show), "Attachments");
return (await _files.ListFiles(path))
.ToDictionary(Path.GetFileNameWithoutExtension,
x => $"{BaseURL}api/shows/{slug}/fonts/{Path.GetFileName(x)}");
x => $"{BaseURL}/api/shows/{slug}/fonts/{Path.GetFileName(x)}");
}
catch (ItemNotFoundException)
{