Refaktor: Aktualisierung der Endpunktzuordnung auf moderne Syntax zur verbesserten Klarheit
This commit is contained in:
@@ -24,10 +24,7 @@ try
|
||||
app.UseAuthorization();
|
||||
|
||||
// Use Ocelot middleware in an appropriate way
|
||||
app.UseEndpoints(endpoints =>
|
||||
{
|
||||
endpoints.MapControllers();
|
||||
});
|
||||
app.MapControllers();
|
||||
|
||||
app.UseOcelot().Wait();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user