From 85321209305d0188314427ec2e392b47a48b28eb Mon Sep 17 00:00:00 2001
From: bklLiudl <673013083@qq.com>
Date: 星期四, 10 七月 2025 08:39:16 +0800
Subject: [PATCH] 接口属性类型变更

---
 Wms/Wms/Startup.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Wms/Wms/Startup.cs b/Wms/Wms/Startup.cs
index 8b90be5..ce3d236 100644
--- a/Wms/Wms/Startup.cs
+++ b/Wms/Wms/Startup.cs
@@ -174,7 +174,11 @@
             app.UseAuthentication();
             app.UseAuthorization();
             app.UseCors("MyCors");//跨域
+            //发布后展示页面
+            app.UseDefaultFiles();
+            app.UseStaticFiles();
 
+            app.UseWebSockets();
             app.UseEndpoints(endpoints =>
             {
                 endpoints.MapControllers();

--
Gitblit v1.8.0