changed graphql path
This commit is contained in:
@@ -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)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user