ok
This commit is contained in:
parent
6868dcd314
commit
5470426373
8
main.go
8
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 = ""
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user