From 14385fee39805359d20092a110f3415bb29f5ea7 Mon Sep 17 00:00:00 2001 From: phoenix Date: Wed, 19 Feb 2025 20:14:51 -0500 Subject: [PATCH] Suppressing warning for endpoints --- Icarus/Program.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Icarus/Program.cs b/Icarus/Program.cs index f6d1ad2..8a8377f 100644 --- a/Icarus/Program.cs +++ b/Icarus/Program.cs @@ -98,10 +98,12 @@ if (app.Environment.IsDevelopment()) app.UseRouting(); app.UseAuthentication(); app.UseAuthorization(); +#pragma warning disable ASP0014 app.UseEndpoints(endpoints => { endpoints.MapControllers(); }); +#pragma warning restore ASP0014 app.Run();