Skip to content

Commit f95036a

Browse files
authored
Get BCContainerhelper through AFD (#1730)
Route traffic to the BCContainerhelper storage account through Azure Front Door. Soon it won't be possible to access the BCContainerhelper storage account directly anymore. We will instead enforce that traffic flows through AFD.
1 parent 744b428 commit f95036a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Actions/AL-Go-Helper.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ function GetBcContainerHelperPath([string] $bcContainerHelperVersion) {
357357
$tempName = Join-Path $bcContainerHelperRootFolder ([Guid]::NewGuid().ToString())
358358
$bcContainerHelperVersion = "preview"
359359
Write-Host "Download failed, downloading BcContainerHelper $bcContainerHelperVersion version from Blob Storage"
360-
$webclient.DownloadFile("https://bccontainerhelper.blob.core.windows.net/public/$($bcContainerHelperVersion).zip", "$tempName.zip")
360+
$webclient.DownloadFile("https://bccontainerhelper-addgd5gzaxf9fneh.b02.azurefd.net/public/$($bcContainerHelperVersion).zip", "$tempName.zip")
361361
}
362362
}
363363
else {
@@ -367,7 +367,7 @@ function GetBcContainerHelperPath([string] $bcContainerHelperVersion) {
367367
$bcContainerHelperVersion = 'preview'
368368
}
369369
Write-Host "Downloading BcContainerHelper $bcContainerHelperVersion version from Blob Storage"
370-
$webclient.DownloadFile("https://bccontainerhelper.blob.core.windows.net/public/$($bcContainerHelperVersion).zip", "$tempName.zip")
370+
$webclient.DownloadFile("https://bccontainerhelper-addgd5gzaxf9fneh.b02.azurefd.net/public/$($bcContainerHelperVersion).zip", "$tempName.zip")
371371
}
372372
Expand-7zipArchive -Path "$tempName.zip" -DestinationPath $tempName
373373
$bcContainerHelperPath = (Get-Item -Path (Join-Path $tempName "*\BcContainerHelper.ps1")).FullName

0 commit comments

Comments
 (0)