Spaces:
Sleeping
Sleeping
File size: 1,183 Bytes
d9a03db 31d49af | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | # Server configuration
PORT=3000
SESSION_SECRET=a_very_strong_random_session_secret_key_12345
# Supabase configuration
SUPABASE_URL=https://your-supabase-project.supabase.co
# It's recommended to use the service role key to write data from backend
SUPABASE_KEY=your-supabase-service-role-key-or-anon-key
# Twitch Developer configuration
# Register your app at: https://dev.twitch.tv
TWITCH_CLIENT_ID=your-twitch-client-id
TWITCH_CLIENT_SECRET=your-twitch-client-secret
# OAuth Redirect URI. Must match what is registered in the Twitch Dev Console.
# Local development: http://localhost:3000/api/auth/twitch/callback
# Production: https://your-render-app.onrender.com/api/auth/twitch/callback
TWITCH_REDIRECT_URI=http://localhost:3000/api/auth/twitch/callback
# Target Streamer Details
TWITCH_CHANNEL=winx_prinx
# Comma-separated list of Twitch usernames that get the 'admin' role
ADMIN_USERNAMES=crimbr1243
# Security Key for Local Worker
# The Local Worker must send this key in the 'x-api-key' header when posting logs
API_KEY=a_long_secure_token_for_local_worker_to_server_sync_98765
# Caching Configuration
# CACHE_ENABLED=true
# CACHE_DEFAULT_TTL=15
# CACHE_MAX_KEYS=1000
|