Merge pull request #522 from omnivore-app/fix/enable-local-introspection

Enable graphql introspection when running locally
This commit is contained in:
Jackson Harper 2022-05-02 09:49:08 -07:00 committed by GitHub
commit aa3e91ac97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -120,6 +120,7 @@ export function makeApolloServer(): ApolloServer {
// hide error messages from frontend on prod
return new Error('Unexpected server error')
},
introspection: env.dev.isLocal,
})
return apollo