mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 03:14:10 +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) {
|
public string GetPublicUrl(string path) {
|
||||||
path = ConvertToRelativeUriPath(path);
|
path = ConvertToRelativeUriPath(path);
|
||||||
var uri = new UriBuilder(Container.GetBlockBlobReference(String.Concat(_root, path)).Uri);
|
var uriBuilder = new UriBuilder(Container.GetBlockBlobReference(String.Concat(_root, path)).Uri);
|
||||||
if (!string.IsNullOrEmpty(_publicHostName)) uri.Host = _publicHostName;
|
if (!string.IsNullOrEmpty(_publicHostName)) uriBuilder.Host = _publicHostName;
|
||||||
return uri.Uri.ToString();
|
return uriBuilder.Uri.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
private class AzureBlobFileStorage : IStorageFile {
|
private class AzureBlobFileStorage : IStorageFile {
|
||||||
|
Reference in New Issue
Block a user