mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 17:31:13 -05:00
Refactor code structure and remove redundant changes
This commit is contained in:
42
.env.example
42
.env.example
@@ -1,33 +1,37 @@
|
||||
# Supabase Configuration
|
||||
VITE_SUPABASE_PROJECT_ID=your-project-id
|
||||
VITE_SUPABASE_PUBLISHABLE_KEY=your-publishable-key
|
||||
# Custom domain pointing to Supabase project (use your actual domain)
|
||||
# For production: https://api.thrillwiki.com
|
||||
# For development: https://ydvtmnrszybqnbcqbdcy.supabase.co (or your custom domain)
|
||||
VITE_SUPABASE_URL=https://api.thrillwiki.com
|
||||
# Django API Configuration (REQUIRED)
|
||||
# Base URL for Django backend API endpoints
|
||||
# Development: Use local Django server
|
||||
# Production: Use your production API domain (e.g., https://api.thrillwiki.com/v1)
|
||||
NEXT_PUBLIC_DJANGO_API_URL=http://localhost:8000/api/v1
|
||||
|
||||
# Cloudflare Turnstile CAPTCHA (optional)
|
||||
# Cloudflare Images Configuration (REQUIRED)
|
||||
# Your CloudFlare account ID for image delivery
|
||||
NEXT_PUBLIC_CLOUDFLARE_ACCOUNT_ID=
|
||||
|
||||
# CloudFlare Images base URL (REQUIRED)
|
||||
# Primary: https://cdn.thrillwiki.com (custom CDN domain - simpler URL structure)
|
||||
# Alternative: https://imagedelivery.net (CloudFlare default)
|
||||
# Image URL structure: {base_url}/images/{image-id}/{variant-id}
|
||||
NEXT_PUBLIC_CLOUDFLARE_IMAGE_URL=https://cdn.thrillwiki.com
|
||||
|
||||
# Cloudflare Turnstile CAPTCHA (OPTIONAL)
|
||||
# Get your site key from: https://dash.cloudflare.com/turnstile
|
||||
# Use test keys for development:
|
||||
# Test keys for development:
|
||||
# - Visible test key (always passes): 1x00000000000000000000AA
|
||||
# - Invisible test key (always passes): 2x00000000000000000000AB
|
||||
# - Visible test key (always fails): 3x00000000000000000000FF
|
||||
VITE_TURNSTILE_SITE_KEY=your-turnstile-site-key
|
||||
|
||||
# Cloudflare Images Configuration
|
||||
VITE_CLOUDFLARE_ACCOUNT_HASH=your-cloudflare-account-hash
|
||||
NEXT_PUBLIC_TURNSTILE_SITE_KEY=
|
||||
|
||||
# CAPTCHA Bypass Control (Development/Preview Only)
|
||||
# Set to 'true' to bypass CAPTCHA verification during authentication
|
||||
# This is controlled ONLY via environment variable for simplicity
|
||||
# MUST be 'false' or unset in production for security
|
||||
VITE_ALLOW_CAPTCHA_BYPASS=false
|
||||
NEXT_PUBLIC_ALLOW_CAPTCHA_BYPASS=false
|
||||
|
||||
# Novu Configuration
|
||||
# Novu Configuration (OPTIONAL - will be migrated)
|
||||
# For Novu Cloud, use these defaults:
|
||||
# - Socket URL: wss://ws.novu.co
|
||||
# - API URL: https://api.novu.co
|
||||
# For self-hosted Novu, replace with your instance URLs
|
||||
VITE_NOVU_APPLICATION_IDENTIFIER=your-novu-app-identifier
|
||||
VITE_NOVU_SOCKET_URL=wss://ws.novu.co
|
||||
VITE_NOVU_API_URL=https://api.novu.co
|
||||
NEXT_PUBLIC_NOVU_APPLICATION_IDENTIFIER=
|
||||
NEXT_PUBLIC_NOVU_SOCKET_URL=wss://ws.novu.co
|
||||
NEXT_PUBLIC_NOVU_API_URL=https://api.novu.co
|
||||
|
||||
Reference in New Issue
Block a user