This commit is contained in:
2023-12-06 13:22:34 +08:00
parent ff0696b55b
commit ee1fd12e17
2 changed files with 148 additions and 19 deletions

View File

@@ -210,7 +210,7 @@ func main() {
w.Write([]byte("Hello World!"))
})
http.Handle("/graphql", handler.New(&handler.Config{
http.Handle("/api", handler.New(&handler.Config{
Schema: &schema,
Pretty: true,
}))