media picker

This commit is contained in:
2022-01-03 13:25:23 +01:00
parent ffb4e8ae3c
commit 2e06697d99
15 changed files with 717 additions and 92 deletions
+4
View File
@@ -14,6 +14,10 @@ public class MediaFileSystem : PhysicalFileSystem, IMediaFileSystem
/// <inheritdoc />
public override string MapToPublicPath(string path)
{
if (path.IsNullOrEmpty())
{
return null;
}
return PublicPathPrefix + path.TrimStart('/');
}
}