1
0
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:
Kamran Ahmed
2025-07-25 16:38:36 +01:00
committed by GitHub
parent 763dfe4cbd
commit b739deba99
95 changed files with 80 additions and 80 deletions

View File

@@ -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;