removing the hardcoded 127.0.0.1

makes it easy to connect when running the code in a remote VM, for example.
This commit is contained in:
Venkata Subramanian Mahalingam 2017-06-22 18:11:08 -04:00 committed by GitHub
parent ea4d1f681b
commit 4fe10c9722
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ import (
)
var (
addr = flag.String("addr", "127.0.0.1:8080", "http service address")
addr = flag.String("addr", ":8080", "http service address")
cmdPath string
)