|
|
@@ -21,8 +21,8 @@ var accessLogStream = FileStreamRotator.getStream({
|
|
21
|
21
|
})
|
|
22
|
22
|
|
|
23
|
23
|
// setup the logger
|
|
24
|
|
-app.use(morgan('combined', {stream: accessLogStream}))
|
|
25
|
|
-app.use(morgan('combined'));
|
|
|
24
|
+app.use(morgan('short', {stream: accessLogStream}))
|
|
|
25
|
+app.use(morgan('short'));
|
|
26
|
26
|
|
|
27
|
27
|
app.use(function(req, res, next) {
|
|
28
|
28
|
res.header("Access-Control-Allow-Origin", "*");
|