Skip to content

Commit 8611cde

Browse files
committed
fix: allow introspection
1 parent 4148c1c commit 8611cde

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,11 @@ httpServer.listen(expressPort, () => {
5858
});
5959

6060
function addExample(example, uri) {
61-
example.uri = `/${uri}`; // eslint-disable-line
61+
example.uri = `/${uri}`;
6262

6363
const server = new ApolloServer({
6464
schema: example.schema,
65+
introspection: true,
6566
playground: {
6667
subscriptionEndpoint: example.uri,
6768
},

0 commit comments

Comments
 (0)