hostname "localhost" is not configured under images in your next.config.js
#32644
Replies: 4 comments
-
Hello! I'm not familiar with the cms-wordpress example, but if your images are inside your code repository, you don't have to add a domain at the start of the URL. You can leverage the built-in static file serving and import your images from the |
Beta Was this translation helpful? Give feedback.
-
I'm having the same problem. Did you find a solution? |
Beta Was this translation helpful? Give feedback.
-
I got a similar problem like the image bellow. The solution that I found was configure the hostname for images in the
Hope it helps 🍻 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I followed the documentation from this repo https://github.com/vercel/next.js/tree/canary/examples/cms-wordpress to setup a WordPress example.
When I do
npm run dev
I keep getting this error:I created
next.config.js
in root folder and added this:but still getting this error message
Beta Was this translation helpful? Give feedback.
All reactions