Skip to content

Commit 49964cc

Browse files
committed
Fix image loading
1 parent 5d2a1cc commit 49964cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/posts-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export const fetchMarkdownPosts = async (
113113
: [],
114114
image: Array.isArray(frontmatter.image)
115115
? frontmatter.image.join(' ')
116-
: frontmatter.image || '/assets/Images/teach.jpg',
116+
: frontmatter.image || 'assets/Images/teach.jpg',
117117
};
118118

119119
allPosts.push(post);

0 commit comments

Comments
 (0)