From 0afdbc973c839be36cef8dcfbe59fad33c1094ac Mon Sep 17 00:00:00 2001 From: Felipe Cardoso Date: Fri, 14 Mar 2025 01:17:07 +0100 Subject: [PATCH] Enable remote image loading in Next.js configuration Added support for loading images from pragmazest.com and localhost. This allows flexibility for handling remote images during development and production. Adjustments align with application requirements for external asset management. --- frontend/next.config.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/frontend/next.config.ts b/frontend/next.config.ts index 2ae4cc8..d5592fc 100644 --- a/frontend/next.config.ts +++ b/frontend/next.config.ts @@ -11,6 +11,18 @@ const nextConfig: NextConfig = { }, ]; }, + images: { + remotePatterns: [ + { + protocol: "https", + hostname: "*.pragmazest.com", + }, + { + protocol: "http", + hostname: "*localhost*", + }, + ], + }, }; export default nextConfig;