This commit is contained in:
x 2025-04-30 17:56:52 +02:00
parent 61f9422f3f
commit 4260a7429a

View File

@ -131,13 +131,13 @@ export default router => {
const postid = +req.params.postid; const postid = +req.params.postid;
const tagname = decodeURIComponent(req.params.tagname); const tagname = decodeURIComponent(req.params.tagname);
if(tagname == 'sfw' || tagname == 'nsfw' || tagname == 'hentai' || tagname == 'audio') { // if(tagname == 'sfw' || tagname == 'nsfw' || tagname == 'hentai' || tagname == 'audio') {
return res.json({ // return res.json({
success: false, // success: false,
msg: 'blacklisted', // msg: 'blacklisted',
tags: await lib.getTags(postid) // tags: await lib.getTags(postid)
}); // });
} // }
const tags = await lib.getTags(postid); const tags = await lib.getTags(postid);