40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
# YouTube Summarizer Frontend Environment Variables
|
|
|
|
# API Configuration
|
|
VITE_API_URL=http://localhost:8000
|
|
VITE_WS_URL=ws://localhost:8000/ws
|
|
|
|
# Application Configuration
|
|
VITE_APP_TITLE=YouTube Summarizer
|
|
|
|
# Authentication Configuration
|
|
#
|
|
# Development Mode (Default - No Authentication Required):
|
|
# - All routes accessible without login
|
|
# - Admin mode indicators shown
|
|
# - Perfect for development and testing
|
|
#
|
|
# Production Mode (Authentication Required):
|
|
# - Set VITE_FORCE_AUTH_MODE=true to enable authentication
|
|
# - Users must login to access features
|
|
# - Production-ready security
|
|
|
|
# Force authentication mode even in development
|
|
# VITE_FORCE_AUTH_MODE=true
|
|
|
|
# Authentication behavior overrides (advanced)
|
|
# VITE_AUTH_REQUIRED=true # Force authentication requirement
|
|
# VITE_SHOW_AUTH_UI=true # Show login/register buttons
|
|
# VITE_REDIRECT_TO_LOGIN=true # Redirect unauthenticated users
|
|
# VITE_AUTH_DISABLED=true # Disable auth even in production
|
|
|
|
# Examples:
|
|
#
|
|
# Development with no auth (default):
|
|
# (no variables needed - all defaults to development mode)
|
|
#
|
|
# Development with auth enabled:
|
|
# VITE_FORCE_AUTH_MODE=true
|
|
#
|
|
# Production with auth disabled (testing):
|
|
# VITE_AUTH_DISABLED=true |