Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass image settings to the optimization module #299

Merged
merged 1 commit into from
Apr 11, 2022
Merged

Conversation

ofhouse
Copy link
Member

@ofhouse ofhouse commented Apr 11, 2022

This ensures that the following settings from next.config.js are passed correctly to the underlying image optimization module:

  • images.formats
  • images.dangerouslyAllowSVG
  • images.contentSecurityPolicy

Fixes #297

@ofhouse ofhouse added this to the Upcoming Fix milestone Apr 11, 2022
@ofhouse ofhouse merged commit e412647 into main Apr 11, 2022
@ofhouse ofhouse deleted the fix/pass-image-options branch April 11, 2022 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"url" parameter is valid but image type is not allowed
1 participant