Return 403 on blocked queries.

This commit is contained in:
2024-02-15 09:34:57 +00:00
parent 9910bb1d45
commit 4cb0d22874
+1
View File
@@ -111,6 +111,7 @@ func processGraphQLRequest(c *fiber.Ctx) error {
opType, opName, cacheFromQuery, cache_time, shouldBlock, should_ignore := parseGraphQLQuery(c)
if shouldBlock {
c.Status(403).SendString("Request blocked")
return nil
}