Repository navigation
Conversation
feat(fe): add Turnstile gate to backtest calculations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
백테스트 계산 전에 Cloudflare Turnstile 사람 인증을 요구합니다. Managed 위젯의 일회용 토큰을 계산 POST의 X-Turnstile-Token 헤더로 전달하며, 요청 JSON·계산 응답·조회 4개의 계약은 유지합니다.
검증: Docker에서 ESLint·앱/테스트 TypeScript·366개 테스트와 의존성 감사·런타임 빌드를 통과했습니다. 격리 MySQL 및 실제 로컬 Docker 브라우저에서 공식 더미 위젯 인증 → 계산 → 조회 4개 완료, 브라우저 오류 없음, 미인증·위조 요청 403 및 계산 미실행을 확인했습니다. 더미 Siteverify 응답의 hostname/action 보완은 테스트 프로세스에만 적용했습니다.
배포 순서: 이 콘솔을 먼저 배포한 뒤 대응 백엔드의 서버 검증을 활성화합니다.