update
This commit is contained in:
parent
f4c0e08486
commit
f1c904eabe
6
main.go
6
main.go
@ -95,6 +95,12 @@ func wsHandler(w http.ResponseWriter, r *http.Request) {
|
||||
} else if buffer == "reddit" {
|
||||
conn.WriteJSON(map[string]string{"action": "redirect", "url": "https://www.reddit.com/r/openbsd/s/zxEkMj0uaW"})
|
||||
buffer = ""
|
||||
} else if buffer == "intelme" {
|
||||
conn.WriteJSON(map[string]string{"action": "show_message", "message": "Everything must be free, without tracking"})
|
||||
buffer = ""
|
||||
} else if buffer == "amdpsp" {
|
||||
conn.WriteJSON(map[string]string{"action": "show_message", "message": "Everything must be free, without tracking"})
|
||||
buffer = ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user