rsnext/examples/cms-prismic/next.config.js
Clecio de Almeida 0f5600ed7d
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>
2021-12-16 04:48:22 +00:00

5 lines
74 B
JavaScript

module.exports = {
images: {
domains: ['images.prismic.io'],
},
}