From 365fba77f152454d9ea630be36f7988508b06223 Mon Sep 17 00:00:00 2001 From: Vasile Popescu Date: Sun, 7 Jul 2019 11:41:56 +0200 Subject: [PATCH] Use the go.tty-share.com as the default server address --- Makefile | 2 +- tty-sender/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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