/// Configuration utilities for the VProxy web application
/// Handles environment variables and application settings

/// Get the Telegram bot username from environment or use default
pub fn get_telegram_bot_username() -> String {
    std::env::var("TELEGRAM_BOT_USERNAME")
        .unwrap_or_else(|_| "V_Proxy_bot".to_string())
}

/// Get the backend API URL from environment or use default
pub fn get_backend_url() -> String {
    std::env::var("BACKEND_URL")
        .unwrap_or_else(|_| "https://vproxy.cc/api".to_string())
}
