Increase multi-part body limit
All checks were successful
Build and Push Image / build-and-push (push) Successful in 3m52s

This commit is contained in:
2025-12-22 15:55:46 +00:00
parent 5e6b0b21a6
commit 8bdd9edbb0

View File

@@ -127,7 +127,7 @@ builder.Services.AddHostedService<DebugService>();
builder.Services.Configure<FormOptions>(opt => builder.Services.Configure<FormOptions>(opt =>
{ {
opt.ValueLengthLimit = int.MaxValue; opt.ValueLengthLimit = int.MaxValue;
opt.MultipartBodyLengthLimit = int.MaxValue; opt.MultipartBodyLengthLimit = long.MaxValue;
}); });
var app = builder.Build(); var app = builder.Build();