aboutsummaryrefslogtreecommitdiffstats
path: root/commands/webui.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-29 21:05:48 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-29 21:05:48 +0200
commit64354c7ce3ff8d1c8c780a93b46c933781851edf (patch)
tree01610a6ef5b79b1d3fece59db0276ad1be5efaea /commands/webui.go
parentf0f927645bed92a927dc8a68a9ea38a1c32fa556 (diff)
downloadgit-bug-64354c7ce3ff8d1c8c780a93b46c933781851edf.tar.gz
webui: show graphql urls
Diffstat (limited to 'commands/webui.go')
-rw-r--r--commands/webui.go4
1 files changed, 3 insertions, 1 deletions
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()