fix graphiql url
This commit is contained in:
parent
3003f4cf78
commit
93bccd3b19
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ async fn main() {
|
||||||
"/graphql",
|
"/graphql",
|
||||||
post(graphql_handler_post).get(graphql_handler_get),
|
post(graphql_handler_post).get(graphql_handler_get),
|
||||||
)
|
)
|
||||||
.route("/graphql/playground", get(graphiql))
|
.route("/graphiql", get(graphiql))
|
||||||
.fallback(handle_404)
|
.fallback(handle_404)
|
||||||
.layer(Extension(db))
|
.layer(Extension(db))
|
||||||
.layer(Extension(schema))
|
.layer(Extension(schema))
|
||||||
|
|
Loading…
Add table
Reference in a new issue