From 817d6e6d8d8b70a5fc16e172c49c3f4332e7535f Mon Sep 17 00:00:00 2001 From: Chaim Date: Fri, 1 May 2026 15:12:41 +0000 Subject: [PATCH] web-ui: raise proxy body limit to 100mb for large document uploads Default 10mb caused upload-tagged 500s on scanned PDFs in case 1027-26 (Next 16 truncates body, FastAPI sees broken multipart, socket hang up). Co-Authored-By: Claude Opus 4.7 (1M context) --- web-ui/next.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web-ui/next.config.ts b/web-ui/next.config.ts index 0bcfd6c..8b4a462 100644 --- a/web-ui/next.config.ts +++ b/web-ui/next.config.ts @@ -13,6 +13,10 @@ const API_ORIGIN = const nextConfig: NextConfig = { output: "standalone", + experimental: { + proxyClientMaxBodySize: "100mb", + }, + async rewrites() { return [ {