add kestrel limit bodySize
This commit is contained in:
@@ -19,6 +19,12 @@ using WorkFlow.Infrastructure.Config;
|
||||
using _0_Framework.Application.UID;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
builder.WebHost.ConfigureKestrel(serverOptions =>
|
||||
{
|
||||
serverOptions.Limits.MaxRequestBodySize = long.MaxValue;
|
||||
});
|
||||
|
||||
builder.Services.AddRazorPages()
|
||||
.AddRazorRuntimeCompilation();
|
||||
//Register Services
|
||||
|
||||
Reference in New Issue
Block a user