Skip to content

Commit 7e48100

Browse files
committed
chore: proper casing
1 parent 954c8a6 commit 7e48100

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/pages/api/captcha/verify.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ export const prerender = false;
77
export const POST: APIRoute = async ({ request }) => {
88
const { captchaToken } = (await request.json()) as { captchaToken: string };
99
try {
10-
console.log('CF_CAPTCHA_SECRET_KEY', CF_CAPTCHA_SECRET_KEY);
11-
console.log('captchaToken', captchaToken);
12-
13-
const requestorIp = request.headers.get('CF-Connecting-IP');
10+
const requestorIp = request.headers.get('cf-connecting-ip');
1411

1512
const captchaVerificationResult = await verifyCaptcha(
1613
CF_CAPTCHA_SECRET_KEY,

0 commit comments

Comments
 (0)