mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-04-30 15:27:56 +00:00
auto-commit for 18ca60c1-6fdf-4650-ac9a-23fdffc515c5
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user