Skip to main content

Module avatar

Module avatar 

Source
Expand description

Gravatar configuration helpers.

This module owns the configuration-facing parts of Gravatar handling: normalization of the stored base URL and runtime fallback to the conventional default base URL. Product crates still own avatar source policy, upload routes, cache headers, and which sizes they expose.

Constants§

DEFAULT_GRAVATAR_BASE_URL
Default Gravatar base URL used by Aster services.

Functions§

gravatar_base_url_or_default
Returns a normalized Gravatar base URL or DEFAULT_GRAVATAR_BASE_URL.
normalize_gravatar_base_url_config_value
Normalizes a Gravatar base URL configuration value.