Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Fix loader url composition on image/next doc (vercel#25893)
Browse files Browse the repository at this point in the history
Remove the extra slash to avoid double slashes on returned url (the image src prop needs to start with a slash)
  • Loading branch information
valse committed Jun 10, 2021
1 parent 11746d3 commit fe4b8aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api-reference/next/image.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ const MyImage = (props) => {
return (
<Image
loader={myLoader}
src="/me.png"
src="me.png"
alt="Picture of the author"
width={500}
height={500}
Expand Down

0 comments on commit fe4b8aa

Please sign in to comment.