rpdata-server: Changed endpoint from /query to /graphql
This commit is contained in:
@@ -21,8 +21,8 @@ func main() {
|
|||||||
log.Fatalln("Failed to init store:", err)
|
log.Fatalln("Failed to init store:", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
http.Handle("/", handler.Playground("RPData API", "/query"))
|
http.Handle("/", handler.Playground("RPData API", "/graphql"))
|
||||||
http.Handle("/query", queryHandler())
|
http.Handle("/graphql", queryHandler())
|
||||||
|
|
||||||
go updateCharacters()
|
go updateCharacters()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user