+ koa logger update
This commit is contained in:
1 parent
bb97677d39
commit
40bb2a06b4
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -30,7 +30,7 @@
|
|||||||
"koa-convert": "^1.2.0",
|
"koa-convert": "^1.2.0",
|
||||||
"koa-etag": "^2.0.0",
|
"koa-etag": "^2.0.0",
|
||||||
"koa-helmet": "^1.0.0",
|
"koa-helmet": "^1.0.0",
|
||||||
"koa-logger": "^1.2.2",
|
"koa-logger": "^2.0.0",
|
||||||
"koa-prerender": "^1.0.3",
|
"koa-prerender": "^1.0.3",
|
||||||
"koa-route": "^3.1.0",
|
"koa-route": "^3.1.0",
|
||||||
"koa-static": "^2.0.0",
|
"koa-static": "^2.0.0",
|
||||||
|
|||||||
+1
-1
@@ -30,7 +30,7 @@ export default function(){
|
|||||||
json: 'application/ejson'
|
json: 'application/ejson'
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
app.use($(logger()));
|
app.use(logger());
|
||||||
app.use(api());
|
app.use(api());
|
||||||
app.use($(conditional()));
|
app.use($(conditional()));
|
||||||
app.use($(etag()));
|
app.use($(etag()));
|
||||||
|
|||||||
Reference in new issue
Block a user