Configuration > Next config
In order to use the Next.js image optimization, the Suncel CDN must be whitelisted in the next.config.js file.
Add assets.suncel.io domain in the images.
// next.config.js file
/** @type {import('next').NextConfig} */
const nextConfig = {
  reactStrictMode: true,
  swcMinify: true,
  images: {
    domains: ["assets.suncel.io"],
  },
};
module.exports = nextConfig;