Skip to content

Commit ad01e75

Browse files
committed
fix: Disable persisted queries in apollo server
1 parent c11c6c8 commit ad01e75

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/index.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ export default async function createHandler(options: Options) {
2828

2929
// @ts-ignore response does not match
3030
const formatError: Config['formatError'] = createErrorFormatter(Sentry);
31-
const apolloServer = new ApolloServer({ schema, formatError });
31+
const apolloServer = new ApolloServer({
32+
schema,
33+
formatError,
34+
persistedQueries: false,
35+
});
3236

3337
await apolloServer.start();
3438

0 commit comments

Comments
 (0)