diff --git a/Makefile b/Makefile index b51a4c0..9347f7f 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,7 @@ runs: $(TTY_SERVER) # Runs the sender, without TLS (no need for localhost testing) runc: $(TTY_SENDER) - ./$(TTY_SENDER) --useTLS=false + ./$(TTY_SENDER) --useTLS=false --server localhost:7654 test: @go test github.com/elisescu/tty-share/testing -v diff --git a/tty-sender/main.go b/tty-sender/main.go index 342e717..fc1c1f3 100644 --- a/tty-sender/main.go +++ b/tty-sender/main.go @@ -22,7 +22,7 @@ func main() { commandArgs := flag.String("args", "", "The command arguments") logFileName := flag.String("logfile", "-", "The name of the file to log") useTLS := flag.Bool("useTLS", true, "Use TLS to connect to the server") - server := flag.String("server", "localhost:7654", "tty-server address") + server := flag.String("server", "go.tty-share.com:7654", "tty-server address") flag.Parse() log.Level = logrus.ErrorLevel