Enable introspection
This commit is contained in:
parent
ce2055fc8f
commit
3cf5f27cdb
|
@ -8,6 +8,12 @@ import { resolvers } from './resolvers'
|
|||
import { schemaDirectives } from './schemaDirectives'
|
||||
|
||||
const server = new ApolloServer({
|
||||
introspection: process.env.INTROSPECTION || false,
|
||||
playground: {
|
||||
settings: {
|
||||
'editor.theme': 'light'
|
||||
}
|
||||
},
|
||||
cors:
|
||||
process.env.NODE_ENV === 'production'
|
||||
? {
|
||||
|
|
Loading…
Reference in New Issue
Block a user