Skip to content

Commit 3431e04

Browse files
committed
Enable graphiql interface
1 parent 8208754 commit 3431e04

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ const app = express();
88

99
// Start using graphQL
1010
app.use('/graphql', graphqlHTTP({
11-
schema: schema
11+
schema: schema,
12+
graphiql: true
1213
}))
1314

1415
// Start listening

0 commit comments

Comments
 (0)