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 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);