...
|
...
|
@@ -32,6 +32,11 @@ app.keys = ['yoho-node-ci secret']; |
|
|
|
|
|
app.use(compress())
|
|
|
|
|
|
// docker验证项目是否正常发布
|
|
|
app.use('/node/status.html', (req, res) => {
|
|
|
return res.status(204).end();
|
|
|
});
|
|
|
|
|
|
app.use(errorHandle(app));
|
|
|
app.use(serve(__dirname + '/public'));
|
|
|
app.use(convert(session({}, app)));
|
...
|
...
|
|