mirror of https://github.com/abpframework/abp
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.
30 lines
732 B
30 lines
732 B
using System.Collections.Generic;
|
|
using Volo.Abp.Modularity;
|
|
using Volo.CmsKit.Comments;
|
|
|
|
namespace Volo.CmsKit;
|
|
|
|
[DependsOn(
|
|
typeof(CmsKitApplicationModule),
|
|
typeof(CmsKitDomainTestModule)
|
|
)]
|
|
public class CmsKitApplicationTestModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
Configure<CmsKitCommentOptions>(options =>
|
|
{
|
|
options.AllowedExternalUrls = new Dictionary<string, List<string>>
|
|
{
|
|
{
|
|
"EntityName1",
|
|
new List<string>
|
|
{
|
|
"https://abp.io/"
|
|
}
|
|
}
|
|
};
|
|
});
|
|
}
|
|
}
|