auto-commit for b072dca0-4567-4f39-ad01-7f4641b42636

This commit is contained in:
emergent-agent-e1
2025-11-08 17:05:50 +00:00
parent 4e3bdbb879
commit 01db3f4bcf
@@ -9,6 +9,7 @@ import {
Platform,
} from 'react-native';
import { WebView } from 'react-native-webview';
import { API_ENDPOINTS } from '../config/api';
const TURNSTILE_SITE_KEY = '1x00000000000000000000AA';
@@ -24,11 +25,8 @@ 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(`${backendUrl}/api/verify-turnstile`, {
const response = await fetch(API_ENDPOINTS.VERIFY_TURNSTILE, {
method: 'POST',
headers: {
'Content-Type': 'application/json',