Skip to content

Commit 0fabbe6

Browse files
committed
Update helmet
1 parent 280401b commit 0fabbe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/server/middlewares/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const securityLayer = app => {
5656
app
5757
.use(newRouter.routes())
5858
.use(newRouter.allowedMethods())
59-
.use(convert(helmet())); // https://github.com/venables/koa-helmet
59+
.use(helmet()); // https://github.com/venables/koa-helmet
6060

6161
return newRouter;
6262
};

0 commit comments

Comments
 (0)