Browse Source
Disable the abp module for dynamic JavaScript client proxies
Resolve #12297
pull/12302/head
maliming
4 years ago
No known key found for this signature in database
GPG Key ID: 96224957E51C89E
1 changed files with
5 additions and
0 deletions
-
framework/src/Volo.Abp.Http/Volo/Abp/Http/AbpHttpModule.cs
|
|
|
@ -17,5 +17,10 @@ public class AbpHttpModule : AbpModule |
|
|
|
{ |
|
|
|
options.Generators[JQueryProxyScriptGenerator.Name] = typeof(JQueryProxyScriptGenerator); |
|
|
|
}); |
|
|
|
|
|
|
|
Configure<DynamicJavaScriptProxyOptions>(options => |
|
|
|
{ |
|
|
|
options.DisableModule("abp"); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|