From a69a251027c770f95c6a9b6a1d59ebc703f7f110 Mon Sep 17 00:00:00 2001 From: Ihsen Bouallegue Date: Tue, 14 Nov 2023 20:23:06 +0100 Subject: [PATCH] Add remotePatterns to images in next.config.js --- next.config.js | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/next.config.js b/next.config.js index 3dd7ef15..f5ee9936 100644 --- a/next.config.js +++ b/next.config.js @@ -1,4 +1,12 @@ -/** @type {import('next').NextConfig} */ -module.exports = { - reactStrictMode: true, -}; +/** @type {import('next').NextConfig} */ +module.exports = { + reactStrictMode: true, + images: { + remotePatterns: [ + { + protocol: "https", + hostname: "**", + }, + ], + }, +};