From 834bec66ffd25d19f097577e51384e9fd3b4c938 Mon Sep 17 00:00:00 2001 From: yangle <admin@YINMOU> Date: 星期三, 30 八月 2023 14:33:56 +0800 Subject: [PATCH] 试样记录单,对色记录单pda单据新增 --- WebTM/Web.config | 31 +++++++++++++++++++++++-------- 1 files changed, 23 insertions(+), 8 deletions(-) diff --git a/WebTM/Web.config b/WebTM/Web.config index a2666c2..ee4e5f2 100644 --- a/WebTM/Web.config +++ b/WebTM/Web.config @@ -4,11 +4,26 @@ http://go.microsoft.com/fwlink/?LinkId=169433 --> <configuration> - <system.web> - <compilation debug="true" targetFramework="4.5" /> - <httpRuntime targetFramework="4.5" /> - </system.web> - <appSettings> - <add key="Name" value="61.130.49.162:9090/WMSAPI///" /> - </appSettings> -</configuration> \ No newline at end of file + <system.web> + <compilation debug="true" targetFramework="4.5" /> + <httpRuntime targetFramework="4.5" /> + </system.web> + <appSettings> + <add key="Name" value="61.130.49.162:9090/WMSAPI///" /> + </appSettings> + <system.webServer> + <staticContent> + <remove fileExtension=".grf" /> + <mimeMap fileExtension=".grf" mimeType="text/xml" /> + </staticContent> + <handlers> + <remove name="StaticFile" /> + <add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule" resourceType="Either" requireAccess="Read" /> + </handlers> + <security> + <requestFiltering> + <requestLimits maxAllowedContentLength="10485760" maxQueryString="10485760" /> <!--璁剧疆鍙傛暟鍐呭鐨勬渶澶ч暱搴︿负10MB锛岄粯璁ゆ槸4MB,鏈�澶ф敮鎸�2GB--> + </requestFiltering> + </security> + </system.webServer> +</configuration> -- Gitblit v1.9.1