|
|
|
|
@ -41,14 +41,6 @@ public class CmsKitPublicWebModule : AbpModule
|
|
|
|
|
{
|
|
|
|
|
mvcBuilder.AddApplicationPartIfNotExists(typeof(CmsKitPublicWebModule).Assembly);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
PreConfigure<AbpEndpointRouterOptions>(options =>
|
|
|
|
|
{
|
|
|
|
|
options.EndpointConfigureActions.Add(context =>
|
|
|
|
|
{
|
|
|
|
|
context.Endpoints.MapCmsPageRoute();
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
|
|
|
@ -80,6 +72,14 @@ public class CmsKitPublicWebModule : AbpModule
|
|
|
|
|
{
|
|
|
|
|
options.KeyPrefix = "CmsKit:";
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Configure<AbpEndpointRouterOptions>(options =>
|
|
|
|
|
{
|
|
|
|
|
options.EndpointConfigureActions.Add(context =>
|
|
|
|
|
{
|
|
|
|
|
context.Endpoints.MapCmsPageRoute();
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void PostConfigureServices(ServiceConfigurationContext context)
|
|
|
|
|
|