import type { NextConfig } from 'next'; const nextConfig: NextConfig = { images: { remotePatterns: [ { hostname: 'res.cloudinary.com', protocol: 'https' }, { hostname: 'avatars.githubusercontent.com', protocol: 'https' }, { hostname: 'imgur.com', protocol: 'https' }, { hostname: 'media2.dev.to', protocol: 'https' }, ], }, }; export default nextConfig;