diff --git a/frontend/next.config.ts b/frontend/next.config.ts index 371c1a7..144e081 100644 --- a/frontend/next.config.ts +++ b/frontend/next.config.ts @@ -5,11 +5,12 @@ const nextConfig: NextConfig = { output: "standalone", // Experimental features + // Type assertion needed: proxyClientMaxBodySize is valid in Next.js 15 but types lag behind experimental: { // Increase proxy body size limit for file uploads (default is 10MB) // This allows larger files to be uploaded through the /api/* rewrite proxy to FastAPI proxyClientMaxBodySize: '100mb', - }, + } as NextConfig['experimental'], // API Rewrites: Proxy /api/* requests to FastAPI backend // This simplifies reverse proxy configuration - users only need to proxy to port 8502