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

feat(next/image): add images.localPatterns config #70529

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix another typo
  • Loading branch information
styfle authored Oct 1, 2024
commit dac699b9b5c2a6845b30a67697033d693b76fe0e
2 changes: 1 addition & 1 deletion errors/next-image-unconfigured-localpatterns.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ One of your pages that leverages the `next/image` component, passed a `src` valu

## Possible Ways to Fix It

Add an entry to `images.remotePatterns` array in `next.config.js` with the expected URL pattern. For example:
Add an entry to `images.localPatterns` array in `next.config.js` with the expected URL pattern. For example:

```js filename="next.config.js"
module.exports = {
Expand Down
Loading