From f0c246df70e22025be7f59e215f2716fcdcb8e25 Mon Sep 17 00:00:00 2001
From: zrg <z18737863051@163.com>
Date: 星期二, 02 四月 2024 17:29:14 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-LayUI
---
WebTM/Web.config | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/WebTM/Web.config b/WebTM/Web.config
index 2db5211..3903a18 100644
--- a/WebTM/Web.config
+++ b/WebTM/Web.config
@@ -6,7 +6,7 @@
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.5" />
- <httpRuntime targetFramework="4.5" />
+ <httpRuntime targetFramework="4.5" maxQueryStringLength="102400" />
</system.web>
<appSettings>
<add key="Name" value="61.130.49.162:9090/WMSAPI///" />
@@ -19,6 +19,11 @@
<handlers>
<remove name="StaticFile" />
<add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule" resourceType="Either" requireAccess="Read" />
- </handlers>
+ </handlers>
+ <security>
+ <requestFiltering>
+ <requestLimits maxAllowedContentLength="10485760" maxQueryString="10485760" /> <!--璁剧疆鍙傛暟鍐呭鐨勬渶澶ч暱搴︿负10MB锛岄粯璁ゆ槸4MB,鏈�澶ф敮鎸�2GB-->
+ </requestFiltering>
+ </security>
</system.webServer>
</configuration>
--
Gitblit v1.9.1