Skip to content

Commit

Permalink
use modifiable media path in file system composition
Browse files Browse the repository at this point in the history
  • Loading branch information
ceee authored and nul800sebastiaan committed Aug 12, 2019
1 parent eb46b16 commit fdcfc48
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -90,7 +90,7 @@ public static Composition ComposeFileSystems(this Composition composition)
// register the IFileSystem supporting the IMediaFileSystem
// THIS IS THE ONLY THING THAT NEEDS TO CHANGE, IN ORDER TO REPLACE THE UNDERLYING FILESYSTEM
// and, SupportingFileSystem.For<IMediaFileSystem>() returns the underlying filesystem
composition.SetMediaFileSystem(() => new PhysicalFileSystem("~/media"));
composition.SetMediaFileSystem(() => new PhysicalFileSystem(SystemDirectories.Media));

return composition;
}
Expand Down

0 comments on commit fdcfc48

Please sign in to comment.