Skip to content

Commit

Permalink
X-Powered-By header (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ealenn authored Feb 1, 2020
1 parent 46bdcf5 commit 7c89554
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ const http = require('http')
, server = http.createServer(app)
, bodyParser = require('body-parser');

// Configuration
app.disable('x-powered-by');

// Parser
app.use(bodyParser.urlencoded({ extended: true }));
app.use(bodyParser.text());
Expand Down

0 comments on commit 7c89554

Please sign in to comment.