Browse Source

Update AbpApplicationBuilderExtensions.cs

pull/21784/head
EngincanV 1 year ago
parent
commit
5576ef5d8f
  1. 2
      framework/src/Volo.Abp.AspNetCore/Microsoft/AspNetCore/Builder/AbpApplicationBuilderExtensions.cs

2
framework/src/Volo.Abp.AspNetCore/Microsoft/AspNetCore/Builder/AbpApplicationBuilderExtensions.cs

@ -184,7 +184,7 @@ public static class AbpApplicationBuilderExtensions
// https://github.com/dotnet/aspnetcore/issues/59673 // https://github.com/dotnet/aspnetcore/issues/59673
app.UseStaticFiles(); app.UseStaticFiles();
// Volo.Abp.AspNetCore.staticwebassets.endpoints.json is a empty file. Just compatible with the return type of MapAbpStaticAssets. // Volo.Abp.AspNetCore.staticwebassets.endpoints.json is an empty file. Just compatible with the return type of MapAbpStaticAssets.
var tempStaticAssetsManifestPath = Path.Combine(AppContext.BaseDirectory, "Volo.Abp.AspNetCore.staticwebassets.endpoints.json"); var tempStaticAssetsManifestPath = Path.Combine(AppContext.BaseDirectory, "Volo.Abp.AspNetCore.staticwebassets.endpoints.json");
if (!File.Exists(tempStaticAssetsManifestPath)) if (!File.Exists(tempStaticAssetsManifestPath))
{ {

Loading…
Cancel
Save