From ef2ed31abaaec51c035c53d7596e788af4beb40a Mon Sep 17 00:00:00 2001
From: ningshuxia <ningshuxia0927@outlook.com>
Date: 星期二, 01 四月 2025 12:49:27 +0800
Subject: [PATCH] inp保存路径修改

---
 WebApi/HStation.WebApi.TransferFile.Core/Startup.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/WebApi/HStation.WebApi.TransferFile.Core/Startup.cs b/WebApi/HStation.WebApi.TransferFile.Core/Startup.cs
index 5e2e8ab..82c51b0 100644
--- a/WebApi/HStation.WebApi.TransferFile.Core/Startup.cs
+++ b/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);

--
Gitblit v1.9.3