mirror of
https://github.com/C9Glax/tranga.git
synced 2025-07-02 00:44:16 +02:00
Added API call to retrieve cover with internalId.
No need to mount imageCache over multiple containers.
This commit is contained in:
@ -127,4 +127,9 @@ public class TrangaSettings
|
||||
Directory.CreateDirectory(new FileInfo(settingsFilePath).DirectoryName!);
|
||||
File.WriteAllText(settingsFilePath, JsonConvert.SerializeObject(this));
|
||||
}
|
||||
|
||||
public string GetFullCoverPath(Manga manga)
|
||||
{
|
||||
return Path.Join(this.coverImageCache, manga.coverFileNameInCache);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user