From c3a6798050b4d56634654a08969dabc6646b8804 Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Sun, 16 Sep 2018 23:52:45 +0200 Subject: [PATCH] rpdata-server: Changed endpoint from /query to /graphql --- cmd/rpdata-server/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/rpdata-server/main.go b/cmd/rpdata-server/main.go index 0ab6de6..b0c1474 100644 --- a/cmd/rpdata-server/main.go +++ b/cmd/rpdata-server/main.go @@ -21,8 +21,8 @@ func main() { log.Fatalln("Failed to init store:", err) } - http.Handle("/", handler.Playground("RPData API", "/query")) - http.Handle("/query", queryHandler()) + http.Handle("/", handler.Playground("RPData API", "/graphql")) + http.Handle("/graphql", queryHandler()) go updateCharacters()