Browse Source
Remove custom WebRootFileProvider initialization
pull/23609/head
maliming
8 months ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
1 changed files with
0 additions and
10 deletions
-
framework/src/Volo.Abp.AspNetCore.Components.Server/Volo/Abp/AspNetCore/Components/Server/AbpAspNetCoreComponentsServerModule.cs
|
|
|
@ -70,14 +70,4 @@ public class AbpAspNetCoreComponentsServerModule : AbpModule |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public override void OnApplicationInitialization(ApplicationInitializationContext context) |
|
|
|
{ |
|
|
|
context.GetEnvironment().WebRootFileProvider = |
|
|
|
new CompositeFileProvider( |
|
|
|
new ManifestEmbeddedFileProvider(typeof(IServerSideBlazorBuilder).Assembly), |
|
|
|
new ManifestEmbeddedFileProvider(typeof(RazorComponentsEndpointRouteBuilderExtensions).Assembly), |
|
|
|
context.GetEnvironment().WebRootFileProvider |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|