Increase multi-part body limit
All checks were successful
Build and Push Image / build-and-push (push) Successful in 3m52s
All checks were successful
Build and Push Image / build-and-push (push) Successful in 3m52s
This commit is contained in:
@@ -127,7 +127,7 @@ builder.Services.AddHostedService<DebugService>();
|
||||
builder.Services.Configure<FormOptions>(opt =>
|
||||
{
|
||||
opt.ValueLengthLimit = int.MaxValue;
|
||||
opt.MultipartBodyLengthLimit = int.MaxValue;
|
||||
opt.MultipartBodyLengthLimit = long.MaxValue;
|
||||
});
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
Reference in New Issue
Block a user