Skip to content

Commit

Permalink
🐛 (image) fix nuxt image domains
Browse files Browse the repository at this point in the history
  • Loading branch information
Tahul committed Jun 17, 2021
1 parent bc7e8d8 commit 02b69cf
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ export default withDocus({
'speedcurve.nuxtjs.org',
'pbs.twimg.com',
'source.unsplash.com',
'images.unsplash.com',
'unsplash.com',
'user-images.githubusercontent.com',
'abs.twimg.com'
]
Expand Down
33 changes: 32 additions & 1 deletion nuxtjs.org/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,37 @@ export default withDocus({
}
},
image: {
domains: ['https://res.cloudinary.com/nuxt/']
screens: {
avatarSm: 24,
avatarLg: 48,
logo: 32,
migration: 536,
blogImage: 864
},
domains: [
'strapi.nuxtjs.org',
'tailwindcss.nuxtjs.org',
'storybook.nuxtjs.org',
'firebase.nuxtjs.org',
'pwa.nuxtjs.org',
'image.nuxtjs.org',
'http.nuxtjs.org',
'cloudinary.nuxtjs.org',
'i18n.nuxtjs.org',
'snipcart.nuxtjs.org',
'prismic.nuxtjs.org',
'google-analytics.nuxtjs.org',
'color-mode.nuxtjs.org',
'mdx.nuxtjs.org',
'sanity.nuxtjs.org',
'speedcurve.nuxtjs.org',
'pbs.twimg.com',
'source.unsplash.com',
'images.unsplash.com',
'unsplash.com',
'user-images.githubusercontent.com',
'abs.twimg.com',
'https://res.cloudinary.com/nuxt/'
]
}
})

1 comment on commit 02b69cf

@vercel
Copy link

@vercel vercel bot commented on 02b69cf Jun 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.