feat(web): sync translated manga galleries, clean titles, synopsis integration, original source links, anthology badges, and mobile-first reader UI
This commit is contained in:
@@ -39,7 +39,7 @@ export async function cacheCover(gid: string, proxyUrl: string): Promise<string
|
||||
|
||||
export function getCoverPath(gid: string): string | null {
|
||||
ensureDir()
|
||||
const files = fs.readdirSync(COVERS_DIR).filter((f) => f.startsWith(gid))
|
||||
const files = fs.readdirSync(COVERS_DIR).filter((f) => f.startsWith(`${gid}.`))
|
||||
if (files.length === 0) return null
|
||||
return path.join(COVERS_DIR, files[0])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user