Browse Source

Update EventHubWebModule.cs

pull/51/head
Halil İbrahim Kalkan 5 years ago
parent
commit
f90dd9a7bb
  1. 6
      src/EventHub.Web/EventHubWebModule.cs

6
src/EventHub.Web/EventHubWebModule.cs

@ -115,7 +115,11 @@ namespace EventHub.Web
Configure<AbpRemoteServiceOptions>(options =>
{
options.RemoteServices.Default.BaseUrl = configuration[EventHubUrlOptions.GetApiConfigKey()].EnsureEndsWith('/');
options.RemoteServices.Default = new RemoteServiceConfiguration(
configuration[EventHubUrlOptions.GetApiConfigKey()]
.Replace("https", "http")
.EnsureEndsWith('/')
);
});
}

Loading…
Cancel
Save