From 1d5dbfaa1c8a0c98775f9bc6bafa30f3772b9b55 Mon Sep 17 00:00:00 2001 From: Niklas Date: Fri, 27 Aug 2021 21:17:04 +0200 Subject: [PATCH] changed graphql path --- internal/httpServer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) })