Compare commits

..

1 Commits

Author SHA1 Message Date
1d5dbfaa1c changed graphql path 2021-08-27 21:17:04 +02:00

View File

@@ -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)
})