Skip to content

Commit

Permalink
added comments for more readability
Browse files Browse the repository at this point in the history
  • Loading branch information
alimaktabi committed Sep 7, 2024
1 parent 1c3f4fd commit 67b63e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions brightIDfaucet/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,10 @@ def before_send(event, hint):
else:
CORS_ALLOW_ALL_ORIGINS = True


# Add Turnstile response headers for CORS
# These headers are required for Cloudflare and HCaptcha Turnstile anti-bot service

CORS_ALLOW_HEADERS = list(default_headers) + [
'cf-turnstile-response',
'hc-turnstile-response',
Expand Down

0 comments on commit 67b63e6

Please sign in to comment.