From 64354c7ce3ff8d1c8c780a93b46c933781851edf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Mur=C3=A9?= Date: Sun, 29 Jul 2018 21:05:48 +0200 Subject: [PATCH] webui: show graphql urls --- commands/webui.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/commands/webui.go b/commands/webui.go index ce444268..b31013ad 100644 --- a/commands/webui.go +++ b/commands/webui.go @@ -27,7 +27,9 @@ func runWebUI(cmd *cobra.Command, args []string) error { addr := fmt.Sprintf("127.0.0.1:%d", port) webUiAddr := fmt.Sprintf("http://%s", addr) - fmt.Printf("Web UI available at %s\n", webUiAddr) + fmt.Printf("Web UI: %s\n", webUiAddr) + fmt.Printf("Graphql API: http://%s/graphql\n", addr) + fmt.Printf("Graphql Playground: http://%s/playground\n", addr) router := mux.NewRouter()