turnstile
turnstile copied to clipboard
How to test on localhost
📚 What are you trying to do?
How can I test in development? couldn't add localhost:3000 to list of hostnames on cloudfare.
🔍 What have you tried?
No response
ℹ️ Additional context
No response
Hello, to use it in development, you should add just localhost without the 3000 port and it will work.
Make sure to wait a bit for it to detect the hostname or just clear your browser cache if it still says invalid domain
https://developers.cloudflare.com/turnstile/troubleshooting/testing/ you can use testing keys instead of adding localhost domains