Fix store images: remove search restriction from localPatterns
The `search: ''` setting in localPatterns was blocking image URLs that include query parameters (width, quality, format). Removing this restriction allows the /api/assets proxy URLs to pass through Next.js image optimization. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
da7747610c
commit
09567cedad
|
|
@ -6,7 +6,6 @@ const nextConfig: NextConfig = {
|
||||||
localPatterns: [
|
localPatterns: [
|
||||||
{
|
{
|
||||||
pathname: '/api/assets/**',
|
pathname: '/api/assets/**',
|
||||||
search: '',
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
remotePatterns: [
|
remotePatterns: [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue