enable introspection on production
This commit is contained in:
@@ -22,6 +22,7 @@ import { httpCacheAdapter } from './utils/httpCacheAdapter';
|
|||||||
driver: ApolloDriver,
|
driver: ApolloDriver,
|
||||||
autoSchemaFile: join(process.cwd(), 'src/schema.gql'),
|
autoSchemaFile: join(process.cwd(), 'src/schema.gql'),
|
||||||
playground: false,
|
playground: false,
|
||||||
|
introspection: true,
|
||||||
plugins: [ApolloServerPluginLandingPageLocalDefault()],
|
plugins: [ApolloServerPluginLandingPageLocalDefault()],
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user