fix: setup prismic image host (#31589)
I was following this example and had an error to display prismic's image, it's because we need to configure the host image in `next.config.js` Here's the docs about it https://nextjs.org/docs/messages/next-image-unconfigured-host ## Bug Don't have issue yet - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint` Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
This commit is contained in:
parent
0794cc07c0
commit
0f5600ed7d
1 changed files with 5 additions and 0 deletions
5
examples/cms-prismic/next.config.js
Normal file
5
examples/cms-prismic/next.config.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
module.exports = {
|
||||
images: {
|
||||
domains: ['images.prismic.io'],
|
||||
},
|
||||
}
|
Loading…
Reference in a new issue