Authored by 郝肖肖

'docker-204'

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