mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-28 20:47:03 -05:00
feat: Add user leaderboard API, Cloudflare Turnstile integration, and support ticket categorization.
This commit is contained in:
@@ -183,3 +183,18 @@ AUTOCOMPLETE_BLOCK_UNAUTHENTICATED = config(
|
||||
# =============================================================================
|
||||
|
||||
FRONTEND_DOMAIN = config("FRONTEND_DOMAIN", default="https://thrillwiki.com")
|
||||
|
||||
# =============================================================================
|
||||
# Cloudflare Turnstile Configuration
|
||||
# =============================================================================
|
||||
# https://developers.cloudflare.com/turnstile/
|
||||
|
||||
TURNSTILE_SITEKEY = config("TURNSTILE_SITEKEY", default="")
|
||||
TURNSTILE_SECRET = config("TURNSTILE_SECRET", default="")
|
||||
|
||||
# Skip Turnstile validation in development if keys not set
|
||||
TURNSTILE_SKIP_VALIDATION = config(
|
||||
"TURNSTILE_SKIP_VALIDATION",
|
||||
default=not TURNSTILE_SECRET, # Skip if no secret
|
||||
cast=bool
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user