.
This commit is contained in:
		@@ -133,7 +133,7 @@ export default class Flummpress {
 | 
			
		||||
      return res.writeHead(code);
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    res.json = (body: JSON, code = 200) => {
 | 
			
		||||
    res.json = (body: any, code = 200) => {
 | 
			
		||||
      res.reply({ code, type: "application/json", body: JSON.stringify(body) });
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user