mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing Media's GetPublicUrl
--HG-- branch : dev
This commit is contained in:
@@ -46,7 +46,7 @@ namespace Orchard.FileSystems.Media {
|
|||||||
|
|
||||||
public string GetPublicUrl(string path) {
|
public string GetPublicUrl(string path) {
|
||||||
|
|
||||||
return _publicPath + path.Replace(Path.DirectorySeparatorChar, '/');
|
return Map(_publicPath + path.Replace(Path.DirectorySeparatorChar, '/'));
|
||||||
}
|
}
|
||||||
|
|
||||||
public IStorageFile GetFile(string path) {
|
public IStorageFile GetFile(string path) {
|
||||||
|
Reference in New Issue
Block a user