|
@@ -689,7 +689,7 @@ namespace TEAMModelOS.SDK.Module.AzureBlob.Implements
|
|
|
// Generate the shared access signature on the container, setting the constraints directly on the signature.
|
|
|
string sasContainerToken = blobContainer.GetSharedAccessSignature(adHocPolicy, null);
|
|
|
|
|
|
- return new { url = blobContainer.Uri, sas = sasContainerToken, timeout = time,name = blobContainer.Name };
|
|
|
+ return new { url = blobContainer.Uri.AbsoluteUri.Replace(blobContainer.Uri.AbsolutePath,""), sas = sasContainerToken, timeout = time,name = blobContainer.Name };
|
|
|
}
|
|
|
public async Task<Dictionary<string,object>> GetBlobSasUri(BlobSas blobSas,bool isRead) {
|
|
|
string sasBlobToken;
|