Implements directory browser dialog, part 6: hidden file system items toggle

This commit is contained in:
BinaryAlley committed 2024-09-24 11:10:03 +03:00
1 parent cd44f11d9e
commit debad9ef74
74 files changed
+596 -427

No files matched your search

@@ -25,11 +25,14 @@ public static class PresentationApiLayerServices
/// <returns>The updated <see cref="IServiceCollection"/>.</returns>
public static IServiceCollection AddPresentationApiLayerServices(this IServiceCollection services)
{
services.AddCors(options => options.AddPolicy("AllowAll",
services.AddCors(options =>
{
options.AddPolicy("AllowAll",
builder => builder
.AllowAnyOrigin()
.AllowAnyMethod()
.AllowAnyHeader()));
.AllowAnyHeader());
});
// add services to the container
services.AddControllers().AddJsonOptions(options =>
@@ -67,4 +70,4 @@ public static class PresentationApiLayerServices
return services;
}
#endregion
}
}