We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f577e07 + 55aab15 commit 9dbc95dCopy full SHA for 9dbc95d
framework/src/Volo.Abp.AspNetCore/Microsoft/AspNetCore/Builder/AbpApplicationBuilderExtensions.cs
@@ -177,14 +177,14 @@ public static StaticAssetsEndpointConventionBuilder MapAbpStaticAssets(this IApp
177
throw new AbpException("The app(IApplicationBuilder) is not an IEndpointRouteBuilder.");
178
}
179
180
- app.UseVirtualStaticFiles();
181
-
182
var options = app.ApplicationServices.GetRequiredService<IOptions<AbpAspNetCoreContentOptions>>().Value;
183
foreach (var folder in options.AllowedExtraWebContentFolders)
184
{
185
app.UseVirtualStaticFiles(folder);
186
187
+ app.UseVirtualStaticFiles();
+
188
return endpoints.MapStaticAssets(staticAssetsManifestPath);
189
190
0 commit comments