From 27b5e7bf7cb8285d88fdf03388aa3829f2737df6 Mon Sep 17 00:00:00 2001 From: Sergey Gut Date: Sun, 28 Jan 2024 20:32:33 +0300 Subject: [PATCH] Try launch webhooks --- Core/Startup.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Core/Startup.cs b/Core/Startup.cs index 3073ed4..98414cc 100644 --- a/Core/Startup.cs +++ b/Core/Startup.cs @@ -69,7 +69,8 @@ public class Startup app.UseRouting(); app.UseEndpoints(endpoints => { - endpoints.MapControllers(); + endpoints.MapControllerRoute(name: "default", + pattern: "{controller=Telegram}/{action=Index}"); }); _core.Modules.Configure(app, env);