Skip to content

Commit 94736d3

Browse files
committed
chore(contact): remove extraneous comments from route
1 parent b734541 commit 94736d3

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

apps/sim/app/api/contact/route.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ const PUBLIC_ENDPOINT_RATE_LIMIT: TokenBucketConfig = {
2626
refillIntervalMs: 60_000,
2727
}
2828

29-
/** Tighter limit for submissions that couldn't complete CAPTCHA (e.g. ad blockers). */
3029
const CAPTCHA_UNAVAILABLE_RATE_LIMIT: TokenBucketConfig = {
3130
maxTokens: 3,
3231
refillRate: 1,
@@ -91,8 +90,6 @@ export const POST = withRouteHandler(async (req: NextRequest) => {
9190
expectedHostname: SITE_HOSTNAME,
9291
})
9392
if (!verification.success && verification.transportError) {
94-
// Cloudflare siteverify unreachable — fall through via the tighter no-captcha bucket
95-
// so a Cloudflare outage doesn't hard-block users who completed the challenge.
9693
logger.warn(
9794
`[${requestId}] Captcha transport error, falling back to no-captcha rate limit`,
9895
{ ip }

0 commit comments

Comments
 (0)