mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-20 19:03:25 +08:00
Rename uri to uriBuilder
This commit is contained in:
@@ -308,9 +308,9 @@ namespace Orchard.Azure.Services.FileSystems {
|
||||
|
||||
public string GetPublicUrl(string path) {
|
||||
path = ConvertToRelativeUriPath(path);
|
||||
var uri = new UriBuilder(Container.GetBlockBlobReference(String.Concat(_root, path)).Uri);
|
||||
if (!string.IsNullOrEmpty(_publicHostName)) uri.Host = _publicHostName;
|
||||
return uri.Uri.ToString();
|
||||
var uriBuilder = new UriBuilder(Container.GetBlockBlobReference(String.Concat(_root, path)).Uri);
|
||||
if (!string.IsNullOrEmpty(_publicHostName)) uriBuilder.Host = _publicHostName;
|
||||
return uriBuilder.Uri.ToString();
|
||||
}
|
||||
|
||||
private class AzureBlobFileStorage : IStorageFile {
|
||||
|
Reference in New Issue
Block a user