diff --git a/src/EventHub.Web/EventHubWebModule.cs b/src/EventHub.Web/EventHubWebModule.cs index 66d38ec..206550b 100644 --- a/src/EventHub.Web/EventHubWebModule.cs +++ b/src/EventHub.Web/EventHubWebModule.cs @@ -115,7 +115,11 @@ namespace EventHub.Web Configure(options => { - options.RemoteServices.Default.BaseUrl = configuration[EventHubUrlOptions.GetApiConfigKey()].EnsureEndsWith('/'); + options.RemoteServices.Default = new RemoteServiceConfiguration( + configuration[EventHubUrlOptions.GetApiConfigKey()] + .Replace("https", "http") + .EnsureEndsWith('/') + ); }); }