Skip to content

Commit

Permalink
disable x-powered-by when helmet is off
Browse files Browse the repository at this point in the history
  • Loading branch information
10A7 committed Feb 10, 2018
1 parent fb43805 commit 0e8ce96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ if (cluster.isMaster) {
app.set('port', process.env.PORT || 8080);
// disable helmet, as these are being set upstream
// app.use(helmet());
app.disable('x-powered-by');
app.use(cors());
app.use(bodyParser.json());

Expand Down

0 comments on commit 0e8ce96

Please sign in to comment.