From e801cc4cbf3b4732ba061d51520a201a71d0efe4 Mon Sep 17 00:00:00 2001 From: Glax Date: Sun, 11 Feb 2024 00:49:26 +0100 Subject: [PATCH] #122 RateLimit GET https://github.com/C9Glax/tranga-website/pull/41 --- Tranga/Server.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tranga/Server.cs b/Tranga/Server.cs index 92a9fb0..a2af34a 100644 --- a/Tranga/Server.cs +++ b/Tranga/Server.cs @@ -203,6 +203,9 @@ public class Server : GlobalBase case "Settings/userAgent": SendResponse(HttpStatusCode.OK, response, settings.userAgent); break; + case "Settings/customRequestLimit": + SendResponse(HttpStatusCode.OK, response, settings.requestLimits); + break; case "NotificationConnectors": SendResponse(HttpStatusCode.OK, response, notificationConnectors); break;