Skip to content

Commit

Permalink
fix: remove default helmet
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Aug 4, 2020
1 parent 8618c32 commit c39c511
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/webserver.js
Expand Up @@ -164,7 +164,6 @@ function setupExpressApp(app) {
saveUninitialized: nconf.get('sessionSaveUninitialized') || false,
}));

app.use(helmet());
app.use(helmet.referrerPolicy({ policy: 'strict-origin-when-cross-origin' }));
if (meta.config['hsts-enabled']) {
app.use(helmet.hsts({
Expand Down

0 comments on commit c39c511

Please sign in to comment.