fix graphiql url

This commit is contained in:
41666 2022-12-09 08:35:38 -05:00
parent 3003f4cf78
commit 93bccd3b19

View file

@ -75,7 +75,7 @@ async fn main() {
"/graphql",
post(graphql_handler_post).get(graphql_handler_get),
)
.route("/graphql/playground", get(graphiql))
.route("/graphiql", get(graphiql))
.fallback(handle_404)
.layer(Extension(db))
.layer(Extension(schema))