enforced file system

This commit is contained in:
Paul Schneider 2018-01-26 13:51:09 +01:00
commit 6066497a67
26 changed files with 143 additions and 76 deletions

View file

@ -28,7 +28,8 @@ namespace Yavsc
{
FileProvider = new PhysicalFileProvider(UserFilesDirName),
RequestPath = new PathString(Constants.UserFilesPath),
EnableDirectoryBrowsing = env.IsDevelopment()
EnableDirectoryBrowsing = env.IsDevelopment(),
};
UserFilesOptions.EnableDefaultFiles=true;