diff --git a/main.go b/main.go index 7668262..7d8340b 100644 --- a/main.go +++ b/main.go @@ -56,6 +56,9 @@ func wsHandler(w http.ResponseWriter, r *http.Request) { } else if buffer == "rabbit" { conn.WriteJSON(map[string]string{"action": "show_message", "message": "wake up, Neo"}) buffer = "" + } else if buffer == "whoami" { + conn.WriteJSON(map[string]string{"action": "redirect", "url": "https://t.me/systemxplore"}) + buffer = "" } } }