eth2-beaconchain-explorer
eth2-beaconchain-explorer copied to clipboard
turnstile
🤖[deprecated] Generated by Copilot at 38d2d19
Implemented a turnstile feature for the API using Cloudflare's API and a custom middleware. The feature is used to limit the access to the explorer during periods of high load by requiring the client to pass a captcha challenge. The feature can be enabled or disabled by configuration options and applied to any handler that needs the turnstile mechanism. The feature also involves changes to the client side scripts and templates to use the turnstile token and widget.