app.UseCors(builder => builder
.AllowAnyOrigin()
.AllowAnyMethod()
.AllowAnyHeader()
.AllowCredentials().SetPreflightMaxAge(TimeSpan.FromSeconds( builder
app.UseCors(builder => builder
.AllowAnyOrigin()
.AllowAnyMethod()
.AllowAnyHeader()
.AllowCredentials().SetPreflightMaxAge(TimeSpan.FromSeconds( builder