Fix: Handle chapters that the scanlator is missing

master
masterhc 12 months ago
parent 2afe5806cd
commit b2d56e6f96

@ -169,6 +169,10 @@ exports.chapter = async (req, res)=>
{
return res.sendStatus(404);
}
if(!manga.List)
{
return res.redirect('/')
}
res.render('chapterPage.ejs', {data:{...manga, scanlator, chapterNum:parseInt(chapter)}});
}

Loading…
Cancel
Save