Refactor Captcha Loading

This commit is contained in:
gpt-engineer-app[bot]
2025-10-10 15:35:48 +00:00
parent 01a5f38e4f
commit b7ba7f8ca0
2 changed files with 7 additions and 2 deletions

View File

@@ -21,6 +21,10 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<!-- Cloudflare Turnstile - Preconnect for faster captcha loading -->
<link rel="dns-prefetch" href="https://challenges.cloudflare.com">
<link rel="preconnect" href="https://challenges.cloudflare.com" crossorigin>
<!-- Uppy CSS for photo upload functionality -->
<link href="https://releases.transloadit.com/uppy/v3.25.3/uppy.min.css" rel="stylesheet">
</head>

View File

@@ -115,8 +115,9 @@ export function TurnstileCaptcha({
options={{
theme,
size,
execution: 'render',
appearance: 'always'
execution: 'execute',
appearance: 'always',
retry: 'auto'
}}
/>
</div>