Trying to append "http://" to the front of every value in a variable array.
Hey @nroeder!
Assuming OriginalImageUrl
is already an array, you might be able to do something like
{{ getPhotos.data.OriginalImageUrl.map(url => ({item_name: "http://" + url})) }}
this maps over each URL in the array and creates a new object plus appends "http://", let me know if that works?