This commit is contained in:
Lain Iwakura 2025-07-12 14:21:20 +03:00
parent b30877fc17
commit b46f99ed60
No known key found for this signature in database
GPG Key ID: C7C18257F2ADC6F8

View File

@ -89,6 +89,9 @@ func wsHandler(w http.ResponseWriter, r *http.Request) {
} else if buffer == "github" { } else if buffer == "github" {
conn.WriteJSON(map[string]string{"action": "redirect", "url": "https://codeberg.org/"}) conn.WriteJSON(map[string]string{"action": "redirect", "url": "https://codeberg.org/"})
buffer = "" buffer = ""
} else if buffer == "status" {
conn.WriteJSON(map[string]string{"action": "redirect", "url": "/status"})
buffer = ""
} }
} }
} }