/** @type {import('next').NextConfig} */
const nextConfig = {
  reactStrictMode: true,
  images: {
    remotePatterns: [
      {
        protocol: "https", 
        hostname: "cdn-landandroots-com.thatsend.dev", 
        pathname: "/**",
      },
      {
        protocol: "https", 
        hostname: "cdn.landandroots.net", 
        pathname: "/**",
      },
    ],
    domains: [
      'i.pinimg.com',
      'cdn-landandroots-com.thatsend.dev',
      'localhost',
      'api-landandroots-com.thatsend.dev',
      'cdn.landandroots.net',
      'api.landandroots.net',
    ],
  },

  async redirects() {
    return [
      {
        source: '/:path*',
        has: [
          {
            type: 'header',
            key: 'x-forwarded-proto',
            value: 'http',
          },
        ],
        permanent: true,
        destination: 'https://landandroots.net/:path*',
      },
    ];
  },

};

export default nextConfig;



