lixiaojun
2025-01-13 4d34a4dfa74a7e84ca6c5718366c3bfa676cdefb
WebApi/HStation.WebApi.TransferFile.Core/Startup.cs
@@ -33,6 +33,7 @@
            {
                options.Limits.MaxRequestBodySize = int.MaxValue;//之前的
                options.Limits.MaxRequestBufferSize = int.MaxValue;
                options.Limits.MaxResponseBufferSize = int.MaxValue;
            });
            services.Configure<IISServerOptions>(options =>
@@ -47,7 +48,6 @@
                x.MultipartBodyLengthLimit = int.MaxValue; // In case of multipart
                x.MultipartBoundaryLengthLimit = int.MaxValue;
                x.BufferBodyLengthLimit = int.MaxValue;
            });
            // services.AddJwt<JwtHandler>(enableGlobalAuthorize: true);