From da4b0a4e9a171b46d08beb45aa2b2ac7f7e3b12e Mon Sep 17 00:00:00 2001
From: zrg <z1873@LAPTOP-EAVL132E>
Date: 星期四, 05 三月 2026 10:51:10 +0800
Subject: [PATCH] 1
---
WebAPI/Web.config | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/WebAPI/Web.config b/WebAPI/Web.config
index 61b7897..f3e31e1 100644
--- a/WebAPI/Web.config
+++ b/WebAPI/Web.config
@@ -47,8 +47,10 @@
<add key="ClientValidationEnabled" value="true" />
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
- <add key="owin:AutomaticAppStartup" value="false" />
- <add key="owin:appStartup" value="" />
+ <!-- 鍚敤 OWIN 鍚姩绫� -->
+ <add key="owin:AutomaticAppStartup" value="false" />
+ <!-- 鎸囧畾鍚姩绫伙紙濡傛灉鐗规�ф爣璁板け鏁堟椂鐢級 -->
+ <add key="owin:AppStartup" value="" />
</appSettings>
<!--
鏈夊叧 web.config 鏇存敼鐨勮鏄庯紝璇峰弬瑙� http://go.microsoft.com/fwlink/?LinkId=235367銆�
@@ -103,6 +105,10 @@
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
</dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Web.Cors" publicKeyToken="31bf3856ad364e35" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
+ </dependentAssembly>
</assemblyBinding>
</runtime>
<system.webServer>
--
Gitblit v1.9.1