Skip to content

Commit

Permalink
feat(express): verify and exclude defined disable
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulo Eduardo Rezende committed Feb 23, 2020
1 parent 1b71076 commit 980610a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/apollo-server-express/src/ApolloServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ export class ApolloServer extends ApolloServerBase {
}
}

this.disable?.map(item => res.removeHeader(item))

return graphqlExpress(() => this.createGraphQLServerOptions(req, res))(
req,
res,
Expand Down

0 comments on commit 980610a

Please sign in to comment.