-
Notifications
You must be signed in to change notification settings - Fork 27.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update next-image-unconfigured-host.md #24953
Conversation
the docs are misleading because I tried this and still got yelled at by compiler, and then added domains and it worked?
actually some of this im experiencing is related to: #23590 but i still think clarifying these docs is helpful. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, I went ahead and removed the docker note from this PR since we have explicit docker deployment docs here https://nextjs.org/docs/deployment#docker-image now, if it makes sense to still add this note it would probably be good to do so there.
Thanks for the PR!
* Update next-image-unconfigured-host.md the docs are misleading because I tried this and still got yelled at by compiler, and then added domains and it worked? * Update next-image-unconfigured-host.md * Update next-image-unconfigured-host.md * Update next-image-unconfigured-host.md * Update next-image-unconfigured-host.md * Update next-image-unconfigured-host.md * Update next-image-unconfigured-host.md * remove unrelated section Co-authored-by: JJ Kasper <[email protected]>
Documentation
Do I use
hostname
ordomains
? I may never know because the docs tell me to do one thing, yet I got yelled at by compiler, and then I addeddomains
and it still doesn't work? 🤷🏻♂️EDIT: Also, we use docker with a custom next config, so making a note about making sure to copy over next.config.js to be compatible for runtime config.