diff --git a/main.go b/main.go index 93f46af..1c1b515 100644 --- a/main.go +++ b/main.go @@ -222,6 +222,9 @@ func wsHandler(w http.ResponseWriter, r *http.Request) { } else if buffer == "society" { conn.WriteJSON(map[string]string{"action": "show_message", "message": "NO PITY FOR THE VICES OF SOCIETY\nBETTER THAT THE BEST."}) buffer = "" + } else if buffer == "source" { + conn.WriteJSON(map[string]string{"action": "redirect", "url": "https://git.iwakurahome.ru/lain/gbio"}) + buffer = "" } } }