Skip to content

Commit

Permalink
Bumped v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollina committed Feb 25, 2019
1 parent 6c28f9b commit dff74c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fastify-gql",
"version": "0.9.0",
"version": "1.0.0",
"description": "Fastify barebone GraphQL adapter",
"main": "index.js",
"scripts": {
Expand All @@ -23,14 +23,14 @@
"pre-commit": "^1.2.2",
"snazzy": "^8.0.0",
"standard": "^12.0.1",
"tap": "^12.5.2"
"tap": "^12.5.3"
},
"dependencies": {
"fastify-plugin": "^1.5.0",
"fastify-static": "^2.3.2",
"graphql": "^14.1.1",
"graphql-jit": "0.0.8",
"http-errors": "^1.7.1",
"graphql-jit": "0.0.9",
"http-errors": "^1.7.2",
"tiny-lru": "^6.0.0"
}
}
2 changes: 1 addition & 1 deletion routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ module.exports = async function (app, opts) {
})

app.get('/graphiql', (req, reply) => {
reply.redirect(`${app.basePath}/graphiql.html`)
reply.redirect(`${app.prefix}/graphiql.html`)
})
}
}

0 comments on commit dff74c8

Please sign in to comment.