This commit is contained in:
Lain Iwakura 2025-07-12 14:36:05 +03:00
parent f4c0e08486
commit f1c904eabe
No known key found for this signature in database
GPG Key ID: C7C18257F2ADC6F8

View File

@ -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 = ""
}
}
}