From 5e076bcd2a1f0aee2d0a8a71ae21c1b57b4a244d Mon Sep 17 00:00:00 2001 From: emergent-agent-e1 Date: Sat, 8 Nov 2025 16:33:08 +0000 Subject: [PATCH] auto-commit for 18ca60c1-6fdf-4650-ac9a-23fdffc515c5 --- frontend/src/screens/HumanVerificationScreen.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/screens/HumanVerificationScreen.tsx b/frontend/src/screens/HumanVerificationScreen.tsx index 16ee097e..192deb24 100644 --- a/frontend/src/screens/HumanVerificationScreen.tsx +++ b/frontend/src/screens/HumanVerificationScreen.tsx @@ -24,8 +24,11 @@ export default function HumanVerificationScreen({ navigation }: any) { setVerifying(true); try { + // Get backend URL from environment + const backendUrl = process.env.EXPO_PUBLIC_BACKEND_URL || 'http://localhost:8001'; + // Verify token with backend - const response = await fetch('http://localhost:8001/api/verify-turnstile', { + const response = await fetch(`${backendUrl}/api/verify-turnstile`, { method: 'POST', headers: { 'Content-Type': 'application/json',