From 547042637333c806abc32bbb8fd67459a1ac30db Mon Sep 17 00:00:00 2001 From: Lain Iwakura Date: Sat, 12 Jul 2025 00:32:38 +0300 Subject: [PATCH] ok --- main.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 7d8340b..516c743 100644 --- a/main.go +++ b/main.go @@ -56,7 +56,13 @@ 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" { + } else if buffer == "whoareu" { + conn.WriteJSON(map[string]string{"action": "redirect", "url": "https://t.me/systemxplore"}) + buffer = "" + } else if buffer == "whoami" { + conn.WriteJSON(map[string]string{"action": "redirect", "url": "https://t.me/systemxplore"}) + buffer = "" + } else if buffer == "whoareyou" { conn.WriteJSON(map[string]string{"action": "redirect", "url": "https://t.me/systemxplore"}) buffer = "" }