This commit is contained in:
Lain Iwakura 2025-07-12 00:32:38 +03:00
parent 6868dcd314
commit 5470426373
No known key found for this signature in database
GPG Key ID: C7C18257F2ADC6F8

View File

@ -56,9 +56,15 @@ 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 == "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 = ""
}
}
}