Move GraphiQL to root
This commit is contained in:
parent
f4a3240cc8
commit
c9f9233681
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ fn main() {
|
|||
let graphql_endpoint = GraphQLHandler::new(context_factory, Query { }, Mutation { });
|
||||
let graphiql_endpoint = GraphiQLHandler::new("/graphql");
|
||||
|
||||
mount.mount("/graphiql", graphiql_endpoint);
|
||||
mount.mount("/", graphiql_endpoint);
|
||||
mount.mount("/graphql", graphql_endpoint);
|
||||
|
||||
let (logger_before, logger_after) = Logger::new(None);
|
||||
|
|
Loading…
Reference in a new issue