Skip to content

Commit

Permalink
fix(apollo): enable playground
Browse files Browse the repository at this point in the history
  • Loading branch information
lgaticaq committed May 29, 2019
1 parent 5f0dca4 commit ac61362
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ module.exports = app => {
schema,
context: ({ req }) => ({
req
})
}),
playground: true
}
app.get('/', (req, res) => res.redirect(graphqlPath))
const server = new ApolloServer(options)
Expand Down

0 comments on commit ac61362

Please sign in to comment.