NutsNews Cloudflare Turnstile Update
Section titled “NutsNews Cloudflare Turnstile Update”This bundle adds Cloudflare Turnstile to the NutsNews contact form.
Files updated
Section titled “Files updated”web/app/contact/ContactForm.tsxweb/app/api/contact/route.tsdocs/CLOUDFLARE_TURNSTILE_CONTACT_FORM.mddocs/DEPLOYMENT_CHECKLIST.mdweb/README.md
Local copy command
Section titled “Local copy command”From your Mac:
cd /Users/ramideltoro/WebstormProjects/nutsnews2
unzip -o ~/Downloads/nutsnews-turnstile-update.zip -d /tmp/nutsnews-turnstile-updatersync -av /tmp/nutsnews-turnstile-update/ ./Required environment variables
Section titled “Required environment variables”Add these to web/.env.local locally and to Vercel Production:
NEXT_PUBLIC_TURNSTILE_SITE_KEY=your_cloudflare_turnstile_site_keyTURNSTILE_SECRET_KEY=your_cloudflare_turnstile_secret_keyVerify
Section titled “Verify”cd /Users/ramideltoro/WebstormProjects/nutsnews2/webnpm installnpx tsc --noEmitnpm run buildnpm run devOpen http://localhost:3000/contact and confirm the Turnstile widget appears above the Send button.
