diff --git a/internal/httpServer.go b/internal/httpServer.go index bc688ce..ca5c418 100644 --- a/internal/httpServer.go +++ b/internal/httpServer.go @@ -34,7 +34,7 @@ func initHttp(resolveContext context.Context, schema graphql.Schema) error { }, }) - http.HandleFunc("/graphql", func(rw http.ResponseWriter, r *http.Request) { + http.HandleFunc("/api/graphql", func(rw http.ResponseWriter, r *http.Request) { h.ContextHandler(resolveContext, rw, r) })