DEV Community

Discussion on: Allow All Domains for Images in Next.js

Collapse
 
ajitkumar profile image
Ajit Kumar β€’

I think, wildcard "" is not allowed due to security risk.
Error: Invalid images.remotePatterns configuration:
Pattern hostname "
" is not allowed.

Collapse
 
joodi profile image
Joodi β€’

Hey Ajit Kumar! πŸ‘‹

Thanks for pointing that out! You were totally right about the "*" wildcard. I’ve updated the post now. Appreciate it! πŸ™Œ