import os

class Config:
    MAX_CONTENT_LENGTH = 5 * 1024 * 1024  # 5MB
    DEPLOY_WEBHOOK_SECRET = os.getenv("DEPLOY_WEBHOOK_SECRET") or ""
    DEBUG = os.getenv("DEBUG", "false").lower() == "true"
    # Canonical site URL for sitemap, robots, llms.txt (e.g. https://valorrealms.nl)
    SITE_URL = (os.getenv("SITE_URL") or "").strip().rstrip("/") or None
