f0bm #75

Closed
schrumpel wants to merge 68 commits from schrumpel/f0bm:f0bm into master
32 changed files with 793 additions and 356 deletions
Showing only changes of commit 4260a7429a - Show all commits

View File

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