import type { NextConfig } from "next";

const nextConfig: NextConfig = {
  output: "standalone",
  images: {
    remotePatterns: [
      {
        protocol: "https",
        hostname: process.env.S3_ENDPOINT?.replace("https://", "") || "",
      },
      {
        protocol: "http",
        hostname: process.env.S3_ENDPOINT?.replace("http://", "") || "",
      },
    ],
  },
};

export default nextConfig;