diff --git a/src/apps/Elsa.ServerAndStudio.Web/Program.cs b/src/apps/Elsa.ServerAndStudio.Web/Program.cs index 581f25ec5..d5e13c05c 100644 --- a/src/apps/Elsa.ServerAndStudio.Web/Program.cs +++ b/src/apps/Elsa.ServerAndStudio.Web/Program.cs @@ -13,6 +13,7 @@ using Microsoft.AspNetCore.Mvc; using Microsoft.Data.Sqlite; using Proto.Persistence.Sqlite; using WebhooksCore.Options; +using Elsa.Connections.Middleware; const bool useMassTransit = true; const bool useProtoActor = true; @@ -189,6 +190,10 @@ services if (distributedCachingTransport == DistributedCachingTransport.MassTransit) distributedCaching.UseMassTransit(); }); } + + elsa.UseConnections( + configure=> configure.AddConnectionsFrom()); + elsa.UseConnectionsApi(); }); services.Configure(options => configuration.GetSection("Webhooks").Bind(options));