diff --git a/plugins/gravatar/bootstrap.php b/plugins/gravatar/bootstrap.php index 0fa145c..f77ca87 100644 --- a/plugins/gravatar/bootstrap.php +++ b/plugins/gravatar/bootstrap.php @@ -9,7 +9,8 @@ return function (Filter $filter) { } $hashed = md5(strtolower(trim($user->email))); - - return "https://www.gravatar.com/avatar/$hashed"; + $registry = env('GRAVATAR_REGISTRY', 'https://www.gravatar.com/avatar/'); + + return "$registry$hashed"; }); };