.env.example•609 B
# Database Configuration
# Path to the SQLite database file
DB_PATH=./data/cache.db
# Cache Configuration
# Default TTL for cached responses (in days)
CACHE_TTL_DAYS=7
# TTL for error responses that should be cached separately (in seconds)
ERROR_CACHE_TTL_SECONDS=300
# Logging Configuration
# Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL=INFO
# Debug mode - enables verbose logging and other debugging features
DEBUG=false
# API Endpoints
# Base URL for the Open5e D&D 5e API
OPEN5E_BASE_URL=https://api.open5e.com
# Base URL for the D&D 5e API
DND5E_BASE_URL=https://www.dnd5eapi.co/api