Skip to content

fix(report): hardcode real Turnstile site key - #403

Merged
slaveofcode merged 1 commit into
developfrom
fix/turnstile-site-key
Sep 27, 2026
Merged

slaveofcode merged 1 commit into
developfrom
fix/turnstile-site-key

Conversation

@slaveofcode

Copy link
Copy Markdown
Owner

Hardcodes the production Turnstile Site Key (public, non-secret) as the default in config.ts, mirroring the GA_ID pattern — Cloudflare build vars for PUBLIC_ values have been dropped in prod before, so the reporter's Turnstile widget was still baking the always-pass test key. The PUBLIC_TURNSTILE_SITE_KEY override still wins if set. Matching TURNSTILE_SECRET is a Worker secret. Fixes real report submissions 403-ing on prod.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
goodwebtools 940a9bf Sep 27 2026, 05:27 AM

@slaveofcode
slaveofcode merged commit 0c566bf into develop Sep 27, 2026
3 checks passed
@slaveofcode
slaveofcode deleted the fix/turnstile-site-key branch September 27, 2026 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant