fix(app.js): Stream log

use logger instead of logger.stream
This commit is contained in:
BoHong Li 2017-03-19 02:44:06 +08:00 committed by Raccoon Li
parent 036b2414f3
commit 7ba0d600f1

2
app.js
View file

@ -79,7 +79,7 @@ if (config.usessl) {
// logger
app.use(morgan('combined', {
'stream': logger.stream
'stream': logger
}))
// socket io