import type { NextConfig } from "next";

const nextConfig: NextConfig = {
  devIndicators: false,
  experimental: {
    // /api/admin/gallery uploads pass through proxy.ts (the auth guard), which
    // buffers request bodies up to this limit before handing off to the route
    // handler. Must stay >= the gallery upload size limit (see MAX_SIZE in
    // src/app/api/admin/gallery/route.ts) or large uploads get silently
    // truncated instead of erroring.
    proxyClientMaxBodySize: "25mb",
  },
};

export default nextConfig;
