Skip to content

Commit

Permalink
fix: disable apollo server uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel910 committed May 11, 2020
1 parent 8a7c6b8 commit 24b837e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/handler-apollo-gateway/src/gatewayHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ const getHandler = async ({ args, options, context }: GetHandlerOptions) => {
}

const apollo = new ApolloServer({
uploads: false,
// @ts-ignore Not sure why it doesn't work, "boolean" function does return a boolean value.
introspection: boolean(server.introspection),
// @ts-ignore Not sure why it doesn't work, "boolean" function does return a boolean value.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const plugin: CreateApolloHandlerPlugin = {
});

const apollo = new ApolloServer({
uploads: false,
// @ts-ignore Not sure why it doesn't work, "boolean" function does return a boolean value.
introspection: boolean(server.introspection),
// @ts-ignore Not sure why it doesn't work, "boolean" function does return a boolean value.
Expand Down

0 comments on commit 24b837e

Please sign in to comment.