feat: add authenticated pre and post api gateway

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-06 01:59:00 -06:00
parent 143f5df049
commit fd6666ae4a
+2
View File
@@ -425,6 +425,8 @@ async function handleRequest(req, res, pool) {
let total = 0
let bodyExceeded = false
res.on("close", () => { upstreamRes.destroy() })
upstreamRes.on("data", (chunk) => {
total += chunk.length
if (total > AUDIT_MAX_BYTES) {