nextjs getting error : hostname is not configured under images in your `next.config.js`
Tried with adding this to resolve it, still didn't work for me.
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'assets.woolworths.com.au',
port: '',
pathname: 'images/*',
},
],
},
But this does work - I guess I am using older version of nextjs but my package.json says I am on version 13.4.11.
images: {
domains: ['weetbix.com.au'],
},
Comments