Skip to content

Commit 9d08c43

Browse files
authored
updating cdn link (#4265)
1 parent 769acab commit 9d08c43

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

build/Settings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ private static Dictionary<string, string[]> GetPowerShell74Runtimes()
193193

194194
public static readonly string DotnetProjectTemplates = $"https://www.nuget.org/api/v2/package/Microsoft.Azure.WebJobs.ProjectTemplates/{DotnetProjectTemplatesVersion}";
195195

196-
public static readonly string TemplatesJsonZip = $"https://functionscdn.azureedge.net/public/TemplatesApi/{TemplateJsonVersion}.zip";
196+
public static readonly string TemplatesJsonZip = $"https://cdn.functions.azure.com/public/TemplatesApi/{TemplateJsonVersion}.zip";
197197

198198
public static readonly string TelemetryKeyToReplace = "00000000-0000-0000-0000-000000000000";
199199

dotnet-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ install_dir="<auto>"
812812
architecture="<auto>"
813813
dry_run=false
814814
no_path=false
815-
azure_feed="https://dotnetcli.azureedge.net/dotnet"
815+
azure_feed="https://builds.dotnet.microsoft.com/dotnet"
816816
uncached_feed="https://dotnetcli.blob.core.windows.net/dotnet"
817817
feed_credential=""
818818
verbose=false

publish-scripts/chocolatey/buildNUPKG.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def preparePackage():
4545

4646
for arch in archList:
4747
fileName = f"Azure.Functions.Cli.win-{arch.lower()}.{constants.VERSION}.zip"
48-
url = f'https://functionscdn.azureedge.net/public/4.0.{constants.CONSOLIDATED_BUILD_ID}/{fileName}'
48+
url = f'https://cdn.functions.azure.com/public/4.0.{constants.CONSOLIDATED_BUILD_ID}/{fileName}'
4949
substitutionMapping[f"ZIPURL_{arch}"] = url
5050

5151
# download the zip

publish-scripts/shared/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def linuxOutput(buildFolder):
5858

5959
# ubuntu dropped 64, fedora supports both
6060
fileName = f"Azure.Functions.Cli.linux-x64.{constants.VERSION}.zip"
61-
url = f'https://functionscdn.azureedge.net/public/4.0.{constants.CONSOLIDATED_BUILD_ID}/{fileName}'
61+
url = f'https://cdn.functions.azure.com/public/4.0.{constants.CONSOLIDATED_BUILD_ID}/{fileName}'
6262

6363
# download the zip
6464
# output to local folder

src/Azure.Functions.Cli/npm/lib/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ if (os.platform() === 'win32') {
4242
}
4343

4444
const fileName = 'Azure.Functions.Cli.' + platform + '.' + version + '.zip';
45-
const endpoint = 'https://functionscdn.azureedge.net/public/' + consolidatedBuildId + '/' + fileName;
45+
const endpoint = 'https://cdn.functions.azure.com/public/' + consolidatedBuildId + '/' + fileName;
4646
console.log('attempting to GET %j', endpoint);
4747
const options = url.parse(endpoint);
4848
// npm config preceed system environment

0 commit comments

Comments
 (0)