From a69827584202acca28cd7f62df0f0bf9118c0a9c Mon Sep 17 00:00:00 2001 From: trueberryless Date: Fri, 2 Aug 2024 19:23:39 +0200 Subject: [PATCH] update image.domains to image.remotePatterns deploy --- next.config.mjs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/next.config.mjs b/next.config.mjs index 0f7dd58..3b62036 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,7 +1,14 @@ /** @type {import('next').NextConfig} */ const nextConfig = { images: { - domains: ["images.unsplash.com"], + remotePatterns: [ + { + protocol: "https", + hostname: "images.unsplash.com", + port: "", + pathname: "/**", + }, + ], }, };