From ab6d37bb7ff72b0615d18f4313d6d083c28f0c97 Mon Sep 17 00:00:00 2001 From: CWX Date: Fri, 17 Jan 2025 19:20:23 +0000 Subject: [PATCH] remove unneeded routing use --- Core/Servers/HttpServer.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Core/Servers/HttpServer.cs b/Core/Servers/HttpServer.cs index c71b4d78..98330ded 100644 --- a/Core/Servers/HttpServer.cs +++ b/Core/Servers/HttpServer.cs @@ -53,12 +53,10 @@ public class HttpServer // enable web socket app.UseWebSockets(); - app.UseRouting(); app.Use((HttpContext req, RequestDelegate _) => { return Task.Factory.StartNew(() => HandleFallback(req)); }); - // app.UseEndpoints(endpointBuilder => { endpointBuilder.MapFallback(HandleFallback); }); started = true; _applicationContext.AddValue(ContextVariableType.WEB_APPLICATION, app); }