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.
This commit is contained in:
2025-03-14 01:17:07 +01:00
parent 058b2b3c73
commit 0afdbc973c

View File

@@ -11,6 +11,18 @@ const nextConfig: NextConfig = {
},
];
},
images: {
remotePatterns: [
{
protocol: "https",
hostname: "*.pragmazest.com",
},
{
protocol: "http",
hostname: "*localhost*",
},
],
},
};
export default nextConfig;