diff --git a/src/apps/Elsa.ServerAndStudio.Web/Program.cs b/src/apps/Elsa.ServerAndStudio.Web/Program.cs index 2158228d2..6aa96e493 100644 --- a/src/apps/Elsa.ServerAndStudio.Web/Program.cs +++ b/src/apps/Elsa.ServerAndStudio.Web/Program.cs @@ -100,7 +100,7 @@ services if (useCaching) http.UseCache(); - http.ConfigureHttpOptions = options => configuration.GetSection("Http").Bind(options); + http.ConfigureHttpOptions = options => configuration.GetSection("Hosting").Bind(options); }) .UseEmail(email => email.ConfigureOptions = options => configuration.GetSection("Smtp").Bind(options)) .UseWebhooks(webhooks => webhooks.ConfigureSinks = options => builder.Configuration.GetSection("Webhooks:Sinks").Bind(options)) diff --git a/src/apps/Elsa.ServerAndStudio.Web/appsettings.json b/src/apps/Elsa.ServerAndStudio.Web/appsettings.json index db952c4fd..11ff6e0b8 100644 --- a/src/apps/Elsa.ServerAndStudio.Web/appsettings.json +++ b/src/apps/Elsa.ServerAndStudio.Web/appsettings.json @@ -19,7 +19,7 @@ }, "Hosting": { "BaseUrl": "https://localhost:8080", - "BasePath": "" + "BasePath": "/api/workflows" }, "Identity": { "Tokens": { @@ -81,10 +81,6 @@ "Port": 2525, "DefaultSender": "noreply@crmservices.com" }, - "Http": { - "BaseUrl": "https://localhost:5001", - "BasePath": "/api/workflows" - }, "Webhooks": { "Sinks": [] },