app.UseFileServer(new FileServerOptions
{
FileProvider = new PhysicalFileProvider(Path.Combine(builder.Environment.ContentRootPath, "public")),
RequestPath = "",
EnableDirectoryBrowsing = true,
EnableDefaultFiles = true
});816900cookie-checkC# UseFileServer