Skip to content

Commit

Permalink
add custom gravatar registry env
Browse files Browse the repository at this point in the history
  • Loading branch information
AkariRin authored Aug 7, 2024
1 parent aa54464 commit a419044
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugins/gravatar/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
}

$hashed = md5(strtolower(trim($user->email)));

return "https://www.gravatar.com/avatar/$hashed";
$registry = env('GRAVATAR_REGISTRY');

return "$registry$hashed";
});
};

0 comments on commit a419044

Please sign in to comment.