fix Bug 63003
This commit is contained in:
parent
e1e2cce096
commit
e634285b97
@ -316,9 +316,9 @@ public abstract class BaseStartup
|
||||
|
||||
app.UseLoggerMiddleware();
|
||||
|
||||
app.UseEndpoints(async endpoints =>
|
||||
app.UseEndpoints(endpoints =>
|
||||
{
|
||||
await endpoints.MapCustomAsync(WebhooksEnabled, app.ApplicationServices);
|
||||
endpoints.MapCustomAsync(WebhooksEnabled, app.ApplicationServices).Wait();
|
||||
|
||||
endpoints.MapHealthChecks("/health", new HealthCheckOptions()
|
||||
{
|
||||
|
@ -123,9 +123,9 @@ public class Startup
|
||||
|
||||
app.UseAuthorization();
|
||||
|
||||
app.UseEndpoints(async endpoints =>
|
||||
app.UseEndpoints(endpoints =>
|
||||
{
|
||||
await endpoints.MapCustomAsync();
|
||||
endpoints.MapCustomAsync().Wait();
|
||||
|
||||
endpoints.MapHealthChecks("/health", new HealthCheckOptions()
|
||||
{
|
||||
|
@ -144,9 +144,9 @@ public class Startup
|
||||
|
||||
app.UseAuthorization();
|
||||
|
||||
app.UseEndpoints( async endpoints =>
|
||||
app.UseEndpoints(endpoints =>
|
||||
{
|
||||
await endpoints.MapCustomAsync();
|
||||
endpoints.MapCustomAsync().Wait();
|
||||
|
||||
endpoints.MapHealthChecks("/health", new HealthCheckOptions()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user