diff --git a/main.go b/main.go index 19623f6..5658815 100644 --- a/main.go +++ b/main.go @@ -92,6 +92,9 @@ func wsHandler(w http.ResponseWriter, r *http.Request) { } else if buffer == "status" { conn.WriteJSON(map[string]string{"action": "redirect", "url": "/status"}) buffer = "" + } else if buffer == "reddit" { + conn.WriteJSON(map[string]string{"action": "redirect", "url": "https://www.reddit.com/r/openbsd/s/zxEkMj0uaW"}) + buffer = "" } } }