不限制请求body大小

This commit is contained in:
陈国伟 2021-08-05 12:47:32 +08:00
parent ccf4370b26
commit 6f36c48146

View File

@ -45,6 +45,7 @@ namespace FastGithub
webBuilder.UseShutdownTimeout(TimeSpan.FromSeconds(2d));
webBuilder.UseKestrel(kestrel =>
{
kestrel.Limits.MaxRequestBodySize = null;
kestrel.ListenHttpReverseProxy();
kestrel.ListenHttpsReverseProxy();
});