fix image optimization during nextjs export

Job ID: 37579748

Budget: $10 – $30 CAD

i am using nextjs for production and use SSG.
as part of the process it uses ExportedImage component from next-image-export-optimizer package.
And it shows the image for local and remote urls, but it gives so many 404 optimized image urls errors in the console, that defeats the purpose of optimization. That needs to be fixed.

Your solution should provide a way to use optimized images for both local and remote urls for production in SSG mode that will not result in any 404 errors for optimized images
Related categories: JavaScript CSS HTML React.js Next.js