/** @type {import('next').NextConfig} */
const nextConfig = {
  typescript: {
    ignoreBuildErrors: true,
  },
  eslint: {
    ignoreDuringBuilds: true,
  },
  images: {
    remotePatterns: [
      {
        protocol: 'https',
        hostname: 'cdn.sanity.io',
      },
      {
        protocol: 'https',
        hostname: 'minio.dev.gofwd.group',
      },
    ],
  },

/*  async rewrites() {
    return [
      {
        source: "/api/:path*",
        destination: "http://battlbuilder-api:8080/api/:path*",
      },
    ];
  },*/
};

export default nextConfig;