You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
637 B
20 lines
637 B
using EShopOnAbp.Shared.Hosting.AspNetCore;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using Volo.Abp.Modularity;
|
|
|
|
namespace EShopOnAbp.Shared.Hosting.Gateways
|
|
{
|
|
[DependsOn(
|
|
typeof(EShopOnAbpSharedHostingAspNetCoreModule)
|
|
)]
|
|
public class EShopOnAbpSharedHostingGatewaysModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
var configuration = context.Services.GetConfiguration();
|
|
|
|
context.Services.AddReverseProxy()
|
|
.LoadFromConfig(configuration.GetSection("ReverseProxy"));
|
|
}
|
|
}
|
|
}
|