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