This commit is contained in:
wuyanchen 2025-11-30 15:20:02 +08:00
parent a348a62f25
commit 1adb405aa3

View File

@ -72,7 +72,7 @@ public class Program
//});
webHostBuilder.ConfigureKestrel(options =>
{
options.Limits.MaxRequestBodySize = 600 * 1024 * 1024; // 600MB
options.Limits.MaxRequestBodySize = 600 * 1024 * 1024; // 600MB //设置最大请求体大小为600MB
});
})
.ConfigureWebHostDefaults(webBuilder =>