changed graphql path
This commit is contained in:
parent
43efc9017c
commit
1d5dbfaa1c
@ -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)
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user