diff --git a/main.go b/main.go index 2957a88..76ef16d 100644 --- a/main.go +++ b/main.go @@ -86,6 +86,9 @@ func wsHandler(w http.ResponseWriter, r *http.Request) { } else if buffer == "windows" { conn.WriteJSON(map[string]string{"action": "show_message", "message": "Windows ALWAYS sucks"}) buffer = "" + } else if buffer == "github" { + conn.WriteJSON(map[string]string{"action": "redirect", "url": "https://codeberg.org/"}) + buffer = "" } } }