07-20-2023, 01:43 PM
I am working on the latest nextJS version. I am trying to load images from a Magento CMS. They work fine in local, but on deployment to Vercel, I get not found error
```GET
I have already added the domain name of CMS to the domains setting in images under next.config.js.
```
images: {
domains: ["devconsole.appname.com", "appname-omega.vercel.app"],
}
```
For reference for debugging, this is the URL that gets requested for in local
```
Where as in the deployed environment for, the requested URLs are something like this
```
```GET
[To see links please register here]
404```I have already added the domain name of CMS to the domains setting in images under next.config.js.
```
images: {
domains: ["devconsole.appname.com", "appname-omega.vercel.app"],
}
```
For reference for debugging, this is the URL that gets requested for in local
```
[To see links please register here]
```Where as in the deployed environment for, the requested URLs are something like this
```
[To see links please register here]
```