Authored by 郝肖肖

'docker-204'

Showing 1 changed file with 5 additions and 0 deletions
... ... @@ -85,6 +85,11 @@ try {
app.use(devtools());
}
// docker验证项目是否正常发布
app.use('/node/status.html', (req, res) => {
return res.status(204).end();
});
require('./dispatch')(app);
app.all('*', errorHandler.notFound); // 404
... ...