Config Images in Next.js 13 in next.congif.js

/** @type {import('next').NextConfig} */
const nextConfig = {
  reactStrictMode: true,
  images: {
    remotePatterns: [
      {
        protocol: 'https',
        hostname: '**.exmpale.com',
        port: '',
        pathname: '/upload/images/product/**',
      },

    ],
  },
}

module.exports = nextConfig