Skip to content

Commit c9f9233

Browse files
committed
Move GraphiQL to root
1 parent f4a3240 commit c9f9233

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ fn main() {
2222
let graphql_endpoint = GraphQLHandler::new(context_factory, Query { }, Mutation { });
2323
let graphiql_endpoint = GraphiQLHandler::new("/graphql");
2424

25-
mount.mount("/graphiql", graphiql_endpoint);
25+
mount.mount("/", graphiql_endpoint);
2626
mount.mount("/graphql", graphql_endpoint);
2727

2828
let (logger_before, logger_after) = Logger::new(None);

0 commit comments

Comments
 (0)