Cannot connect to graphql playground when using go-chi router
问题 I'm use gqlgen to create a go graphql server. In the tutorial, the default setup for localhost:8080 works fine. server.go ... func main() { srv := handler.NewDefaultServer(generated.NewExecutableSchema(generated.Config{Resolvers: &graph.Resolver{}})) http.Handle("/", playground.Handler("GraphQL playground", "/query")) http.Handle("/query", srv) log.Fatal(http.ListenAndServe(":8080", nil)) } ... However, if i switch to the Chi package router, I get a 400 error: server.go ... func main() {