Skip to content
Discussion options

You must be logged in to vote

Hi!

This is not a problem with Gatsby but your code. You're mutating the value that you're then later use:

let imgPath = data["image-root"] + x.image;
x.image = imgPath;

You also might be missing a leading slash in front of the URL.

Please see these docs for further reference:

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@U-C-S
Comment options

Answer selected by U-C-S
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #32404 on July 19, 2021 07:54.