diff --git a/cmd/server/main.go b/cmd/server/main.go index 25fc443..d8eb8f6 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -28,7 +28,7 @@ func Start() { flag.Usage = func() { fmt.Fprintf(flag.CommandLine.Output(), "Usage of %s:\n", "GoTomato") flag.PrintDefaults() - fmt.Println("\nPoint your client to 'ws://:/ws'") + fmt.Println("\nPoint your client to 'ws://:'") } flag.Parse() @@ -52,7 +52,7 @@ func Start() { // start connection handler and broadcast r := http.NewServeMux() - r.HandleFunc("/ws", websocket.HandleConnection) + r.HandleFunc("/", websocket.HandleConnection) go websocket.SendPermanentBroadCastMessage() helper.Logger.Info("GoTomato started", "version", metadata.GoTomatoVersion) diff --git a/index.html b/index.html index a2c345e..eca9464 100644 --- a/index.html +++ b/index.html @@ -64,7 +64,7 @@