Commit 063067ee authored by strong's avatar strong

增加alive检查api

parent b28ae575
......@@ -98,6 +98,10 @@ app.use('/v1/forum/*',forumUser.identifyUser());
require(controller)(app);
});
app.use('/aliveCheck',function(req, res, next) {
res.status(200).end();
});
app.use(function(req, res, next) {
var err = new Error('Not Found');
err.status = 404;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment