Node.js based forum software built for the modern web
altering api route to use next() instead of echoing 404...
Julian Lam95b16690e059
diff --git a/src/routes/api.js b/src/routes/api.jsindex de7b114ae3..b02a5b4616 100644--- a/src/routes/api.js+++ b/src/routes/api.js@@ -115,7 +115,7 @@ var user = require('./../user.js'),return res.json(404, {});}res.json(data);- } else res.json(404, {});+ } else next();});});