Suncel home pageSuncel logoSuncel v1.1
  1. Next config

Configuration > Next config

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;