Hello, I'm downloading an array of products from my DB and want to display their images that are linked to an external web (each product has an img attribue with the link). It works fine when I do it on localhost but once on Vercel, the images return 404. Is there any way around it? Seems like the Image component has an issue with these links fed to its src attribute.
I do have the domain added to the next config file like this:
images: {
remotePatterns: [
{
protocol: "http",
hostname: "tomasburian.com",
port: "",
pathname: "/dev/**",
},
],
},
And the links look like this: http:/tomasburian.com/dev/cdn/mclaren-store/01.jpg
So I'm not sure how to make it work. Could you guys please help?