From 015a83929f2f04455c704546f3d3f80d42c23101 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期五, 28 七月 2023 14:59:40 +0800 Subject: [PATCH] 添加文件上传功能 --- ExportMap/cs/NoBufferPolicySelector.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ExportMap/cs/NoBufferPolicySelector.cs b/ExportMap/cs/NoBufferPolicySelector.cs index 219d30b..dfad7a3 100644 --- a/ExportMap/cs/NoBufferPolicySelector.cs +++ b/ExportMap/cs/NoBufferPolicySelector.cs @@ -15,7 +15,7 @@ if (context != null) { - if (context.Request.HttpMethod == HttpMethod.Post.ToString() && context.Request.ContentLength > 200000) + if (context.Request.HttpMethod == HttpMethod.Post.ToString() && context.Request.ContentLength > 102400) { return false; } -- Gitblit v1.9.3