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.
abp/modules/cms-kit/test/Volo.CmsKit.Application.Tests/CmsKitApplicationTestModule.cs

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/"
}
}
};
});
}
}