Niels-IO / next-image-export-optimizer

Use Next.js advanced <Image/> component with the static export functionality. Optimizes all static images in an additional step after the Next.js static export.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remote images require https URLs

andreyrd opened this issue · comments

https://github.com/Niels-IO/next-image-export-optimizer/blob/master/src/utils/downloadImagesInBatches.ts uses https, which means that remote images have to come from an https URL. This breaks builds that use a CMS running off of localhost.

Hi @andreyrd,

I opened PR #173. This should fix this behavior.