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();
|
app.UseAuthorization();
|
||||||
|
|
||||||
// Use Ocelot middleware in an appropriate way
|
// Use Ocelot middleware in an appropriate way
|
||||||
app.UseEndpoints(endpoints =>
|
app.MapControllers();
|
||||||
{
|
|
||||||
endpoints.MapControllers();
|
|
||||||
});
|
|
||||||
|
|
||||||
app.UseOcelot().Wait();
|
app.UseOcelot().Wait();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user