mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-22 00:43:01 +02:00
Move images to img (#8953)
This commit is contained in:
@@ -239,7 +239,7 @@ async function generateGuideOpenGraph() {
|
||||
for (const guide of allGuides) {
|
||||
const author = allAuthors.find((author) => author.id === guide.authorId);
|
||||
const image =
|
||||
author?.imageUrl || 'https://roadmap.sh/images/default-avatar.png';
|
||||
author?.imageUrl || 'https://roadmap.sh/img/default-avatar.png';
|
||||
const isExternalImage = image?.startsWith('http');
|
||||
let authorImageExtension = '';
|
||||
let authorAvatar;
|
||||
|
Reference in New Issue
Block a user