missed a reference to localhost

This commit is contained in:
Stephen McQuay 2013-09-28 14:33:51 -07:00
parent bc92c2e01f
commit 1924d613f0

View File

@ -85,7 +85,8 @@ func connect() (*websocket.Conn, error) {
}
func createGame() (string, error) {
resp, err := http.Get("http://localhost:8666/game/start/")
url := fmt.Sprintf("http://%s:%d/game/start/", *server, *port)
resp, err := http.Get(url)
if err != nil {
return "", err
}