mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
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.
26 lines
766 B
26 lines
766 B
using Volo.Abp.Http.ProxyScripting.Configuration;
|
|
using Volo.Abp.Http.ProxyScripting.Generators.JQuery;
|
|
using Volo.Abp.Json;
|
|
using Volo.Abp.Minify;
|
|
using Volo.Abp.Modularity;
|
|
|
|
namespace Volo.Abp.Http;
|
|
|
|
[DependsOn(typeof(AbpHttpAbstractionsModule))]
|
|
[DependsOn(typeof(AbpJsonModule))]
|
|
[DependsOn(typeof(AbpMinifyModule))]
|
|
public class AbpHttpModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
Configure<AbpApiProxyScriptingOptions>(options =>
|
|
{
|
|
options.Generators[JQueryProxyScriptGenerator.Name] = typeof(JQueryProxyScriptGenerator);
|
|
});
|
|
|
|
Configure<DynamicJavaScriptProxyOptions>(options =>
|
|
{
|
|
options.DisableModule("abp");
|
|
});
|
|
}
|
|
}
|
|
|