From 174338af5de9b73d463a6d96ee8a076a6be06ebc Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Tue, 11 Mar 2025 16:55:34 +0100 Subject: [PATCH] Refaktor: Aktualisierung der Endpunktzuordnung auf moderne Syntax zur verbesserten Klarheit --- Program.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Program.cs b/Program.cs index ea89877..7616c49 100644 --- a/Program.cs +++ b/Program.cs @@ -24,10 +24,7 @@ try app.UseAuthorization(); // Use Ocelot middleware in an appropriate way - app.UseEndpoints(endpoints => - { - endpoints.MapControllers(); - }); + app.MapControllers(); app.UseOcelot().Wait();