From 6b8782c6810660751b40d284d40ea7a13656c5b7 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期一, 05 九月 2022 20:04:13 +0800
Subject: [PATCH] 设备点检记录功能、大岛车间综合看板接口变更、工单批量关闭查询,提交

---
 VueWebApi/App_Start/Startup.cs |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/VueWebApi/App_Start/Startup.cs b/VueWebApi/App_Start/Startup.cs
index d2fc6c2..368ac6c 100644
--- a/VueWebApi/App_Start/Startup.cs
+++ b/VueWebApi/App_Start/Startup.cs
@@ -1,4 +1,6 @@
-锘縰sing Microsoft.Owin;
+锘縰sing Microsoft.AspNet.SignalR;
+using Microsoft.Owin;
+using Microsoft.Owin.Cors;
 using Owin;
 using System;
 using System.Collections.Generic;
@@ -11,8 +13,12 @@
     {
         public void Configuration(IAppBuilder app)
         {
-            // 閰嶇疆闆嗙嚎鍣�
+            // 鏈夊叧濡備綍閰嶇疆搴旂敤绋嬪簭鐨勮缁嗕俊鎭紝璇疯闂� https://go.microsoft.com/fwlink/?LinkID=316888
+            //鍏佽璺ㄥ煙
+            app.UseCors(CorsOptions.AllowAll);
+            //app.MapSignalR("Hubs/chatHub", new HubConfiguration());
             app.MapSignalR();
+            //鑷繁璁惧畾璁块棶璺緞锛屽悓鏃惰缃瓾ub閰嶇疆椤癸紝鏃犻渶鎸囧畾鍚姩鐨凥ub绫伙紝鍥犱负瀹冧滑琚嚜鍔ㄨ瘑鍒�
         }
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3