From b58faaf953f6431feb91ad18d11e4e03272041b3 Mon Sep 17 00:00:00 2001 From: dimasandriano Date: Thu, 12 Sep 2024 21:34:12 +0700 Subject: [PATCH] chore(nextconfig): update nextconfig image domains to image remotepatterns --- next.config.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/next.config.js b/next.config.js index caecedc3f..cbe96766b 100644 --- a/next.config.js +++ b/next.config.js @@ -9,9 +9,12 @@ const nextConfig = { // Uncoment to add domain whitelist // images: { - // domains: [ - // 'res.cloudinary.com', - // ], + // remotePatterns: [ + // { + // protocol: 'https', + // hostname: 'res.cloudinary.com', + // }, + // ] // }, webpack(config) {