Skip to content

Commit

Permalink
Removed useless header x-powered-by (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
vanodevium authored and boyney123 committed May 21, 2019
1 parent 0500789 commit 2f9a762
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mockit-routes/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ if (corsFeature) {
app.use(cors());
}

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

routes.forEach(route => {
const { route: path, statusCode, payload, disabled = false, httpMethod = "GET" } = route;

Expand Down

0 comments on commit 2f9a762

Please sign in to comment.