Skip to content

turnstileを実装する#119

Open
nose221834 wants to merge 10 commits into
developfrom
feat/nose/turnslate
Open

turnstileを実装する#119
nose221834 wants to merge 10 commits into
developfrom
feat/nose/turnslate

Conversation

@nose221834
Copy link
Copy Markdown
Collaborator

@nose221834 nose221834 commented Apr 7, 2024

目的

人間だけがAPIを叩けるようにしたい

概要

  • marsidev/react-turnstileの追加
  • verifyToken.tsの追加

確認項目

  • 以下の項目をview.envに追記して、ローカルでcloudflare turnstileが動作するか(テストのキー)
NEXT_PUBLIC_TURNSTILE_SITE_KEY=1x00000000000000000000AA
NEXT_PUBLIC_TURNSTILE_SECRET_KEY=1x00000000000000000000AA

不安・相談

@nose221834 nose221834 requested a review from AobaIwaki123 April 7, 2024 13:55
@nose221834
Copy link
Copy Markdown
Collaborator Author

少しだけzodも追加してみた
あと、後でerror.tsxを作る決意を込めてエラー処理をthrow new errorにしてみた

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