405 :(
This commit is contained in:
		@@ -102,6 +102,12 @@ export default router => {
 | 
			
		||||
      const tagname = decodeURIComponent(req.params.tagname);
 | 
			
		||||
      const newtag = req.post.newtag;
 | 
			
		||||
 | 
			
		||||
      if(['sfw', 'nsfw'].includes(tagname) || ['sfw', 'nsfw'].includes(newtag)) {
 | 
			
		||||
        return res.json({
 | 
			
		||||
          msg: 'f0ck you'
 | 
			
		||||
        }, 405); // method not allowed
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      const tmptag = (
 | 
			
		||||
        await sql('tags')
 | 
			
		||||
          .where('tag', tagname)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user