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