import type { NextConfig } from "next";

const nextConfig: NextConfig = {
  images: {
    domains: ["dashboard.codeparrot.ai"],
  },
  devIndicators: false,
  async redirects() {
    return [
      {
        source: "/:path*",
        has: [
          {
            type: "host",
            value: "https://www.mypitchdeck.com/", 
          },
        ],
        destination: "https://mypitchdeck.com/", 
        permanent: true,
      },
    ];
  },
};

export default nextConfig;
