added the rate limiter - Whoa There, Tiger!

This commit is contained in:
2026-03-10 22:59:35 -06:00
parent e10cf0b48c
commit a1837b2cea
8 changed files with 95 additions and 3 deletions
+5
View File
@@ -88,6 +88,11 @@ func AmSendPageData(ctxt echo.Context, amctxt AmContext, command string, data an
httprc = http.StatusForbidden
command = "framed"
data = "ipban.jet"
case "ratelimit":
amctxt.SetFrameTitle("Rate Limit Exceeded")
httprc = http.StatusTooManyRequests
command = "framed"
data = "ratelimit.jet"
}
// Process commands.