Skip to content

Commit

Permalink
use dicebear for avatars instead
Browse files Browse the repository at this point in the history
  • Loading branch information
squi-ddy authored Nov 4, 2024
1 parent 3fadb3e commit c686180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gridsome.server.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module.exports = function (api) {

authorsJson.forEach(({ id, avatar, ...fields }) => {
avatar = !avatar
? `https://source.boringavatars.com/pixel/120/${id}?colors=009A90,333F48,41B883`
? `https://api.dicebear.com/9.x/shapes?seed=${id}`
: avatar;
authors.addNode({
id,
Expand Down

0 comments on commit c686180

Please sign in to comment.