Unhandled Runtime Error
Error: Invalid src prop (ipfs.infura.io...) on `next/image`, hostname "ipfs.infura.io" is not configured under images in your `next.config.js`
Solution:
go to you next.config.js and edit the domain props under images. for mine the hostname was ipfs.infura.io
// next.config.js
module.exports = {
reactStrictMode: true,
images: {
domains: ['ipfs.infura.io'],
},
}
13 сен 2024