mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-27 04:19:04 +08:00
Return clean PublicUrl without port number when default is used.
This commit is contained in:
@@ -310,7 +310,7 @@ namespace Orchard.Azure.Services.FileSystems {
|
||||
path = ConvertToRelativeUriPath(path);
|
||||
var uri = new UriBuilder(Container.GetBlockBlobReference(String.Concat(_root, path)).Uri);
|
||||
if (!string.IsNullOrEmpty(_publicHostName)) uri.Host = _publicHostName;
|
||||
return uri.ToString();
|
||||
return uri.Uri.ToString();
|
||||
}
|
||||
|
||||
private class AzureBlobFileStorage : IStorageFile {
|
||||
|
||||
Reference in New Issue
Block a user