Skip to content

Commit

Permalink
feat(server): disable x-powered-by by default
Browse files Browse the repository at this point in the history
  • Loading branch information
pauloedurezende authored and abernix committed Mar 10, 2020
1 parent 2094947 commit 4a94639
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/apollo-server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ export class ApolloServer extends ApolloServerBase {
// object, so we have to create it.
const app = express();

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

// provide generous values for the getting started experience
super.applyMiddleware({
app,
Expand Down

0 comments on commit 4a94639

Please sign in to comment.