Skip to content

Commit

Permalink
updating image domain note
Browse files Browse the repository at this point in the history
  • Loading branch information
maria0r committed Mar 25, 2024
1 parent 7b274fb commit d6e3c17
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/conscia/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,17 @@ In order to use data from Conscia, the `cmsRouter` needs to use the `getPage` da
```
:::note
Don't forget to update the `composable-ui/next.config.js` file with the image domains that you will be receiving. For example,
Don't forget to update the `composable-ui/next.config.js` file with the image domains that you will be receiving. Please refer to the Next.JS documentation on `remotePatterns` [here](https://nextjs.org/docs/app/api-reference/components/image#remotepatterns). For example,
```json
images: {
domains: ['loremflickr.com', 'images.contentstack.io', ...]
remotePatterns: [
{
protocol: 'https',
hostname: '**.contentstack.io',
port: '',
},
],
}
```
:::

0 comments on commit d6e3c17

Please sign in to comment.