Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5049

how to resolve Image component config domain hostname problem?

$
0
0

i am trying to publish my project.i had erros that have to change img to Image(next/image)so i changed. but my hostname is not supported

i have error like this:

Error: Invalid src prop (https://lh3.googleusercontent.com/a/ALm5wu0Xpt8pkClx2LZ5Z6p3iBVyJKrtq3hNKHC7v8X6=s96-c) on `next/image`, hostname "lh3.googleusercontent.com" is not configured under images in your `next.config.js`See more info: https://nextjs.org/docs/messages/next-image-unconfigured-host

config. js:

module.exports = {  images: {    domains: ['localhost', 'images.unsplash.com', 'googleusercontent.com','lh3.googleusercontent.com']  },

i am trying to sign with google then get the user's profile image.but i can't. how can l resolve this problem?? please help me out


Viewing all articles
Browse latest Browse all 5049

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>