Skip to content

Commit

Permalink
fix: img 404 에러 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
Temple2001 committed Aug 14, 2024
1 parent 4ef03ee commit d22ac7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MDXComponents/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const mdxComponents: MDXComponents = {
<div className={styles.imageBox}>
{/* <img {...props} className={styles.img} /> */}
<Image
src={props.src || "/default-image.jpg"}
src={`./${props.src}` || "/default-image.jpg"}
alt="Image"
width={1000}
height={1000}
Expand Down

0 comments on commit d22ac7c

Please sign in to comment.