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.