From f90dd9a7bb8aaeb8dedd7caf6a022a00748c7e08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Thu, 5 Aug 2021 15:18:28 +0300 Subject: [PATCH] Update EventHubWebModule.cs --- src/EventHub.Web/EventHubWebModule.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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('/') + ); }); }