import type { NextConfig } from "next";

const nextConfig: NextConfig = {
  images: {
    remotePatterns: [
      {
        protocol: "https",
        hostname: "openthatpack.com",
        pathname: "/**",
      },
      {
        protocol: "https",
        hostname: "backend.openthatcard.com", // ✅ ADD THIS
        pathname: "/**",
      },
      {
        protocol: "https",
        hostname: "dev.tcgwin.com", // ✅ ADD THIS
        pathname: "/**",
      },
      {
        protocol: "http",
        hostname: "localhost", // ✅ ADD THIS
        pathname: "/**",
      },
      {
        protocol: "http",
        hostname: "127.0.0.1", // ✅ ADD THIS
        // port : '9000',
        pathname: "/**",
      },
    ],
  },
  reactStrictMode: true,
};

export default nextConfig;
