Use the go.tty-share.com as the default server address

pull/14/merge
Vasile Popescu 5 years ago
parent ded629f481
commit 365fba77f1

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

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

Loading…
Cancel
Save