@ -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