From 4d8e41e74c670adfe55cc8fb3d5ab3234961bdef Mon Sep 17 00:00:00 2001 From: Lain Iwakura Date: Fri, 18 Jul 2025 14:46:50 +0300 Subject: [PATCH] s --- main.go | 3 +++ 1 file changed, 3 insertions(+) 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 = "" } } }