mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #522 from omnivore-app/fix/enable-local-introspection
Enable graphql introspection when running locally
This commit is contained in:
commit
aa3e91ac97
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue