sladg / nextjs-lambda

Lambda deployments for Nextjs12 & Nextjs13 (standalone). Easy CLI commands to get your standalone Next output to run in AWS Lambda (not @Edge)! Uses CDK in behind and produces code zips importable to Terraform, Serverless, Azure, etc.
MIT License
169 stars 19 forks source link

Bundled `image-handler` isn't respecting allowed `remotePatterns` / `domains` #48

Closed fabiob closed 1 year ago

fabiob commented 1 year ago

My Next.js stores images on a CDN, which requires me to display them using their absolute URLs. However, the bundled image-handler refuses to work with them, as it was built before reading my next.config.js.

sladg commented 1 year ago

Hey! Any chance you can provide me with minimal repo example?

sladg commented 1 year ago

@fabiob 👋

sladg commented 1 year ago

Considering inactivity and the fact that this package renders the use of external CDN pretty much pointless (we are using Cloudfront + S3), I'm closing this issue.