Replace value of DotNetCoreIndexUrl with CDN URL

This commit is contained in:
MaksimZhukov 2022-10-19 16:33:04 +02:00
parent 4d4a70f4a5
commit d047a2ae3e
2 changed files with 523 additions and 523 deletions

2
dist/index.js vendored
View File

@ -273,7 +273,7 @@ class DotnetVersionResolver {
}
}
exports.DotnetVersionResolver = DotnetVersionResolver;
DotnetVersionResolver.DotNetCoreIndexUrl = 'https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/releases-index.json';
DotnetVersionResolver.DotNetCoreIndexUrl = 'https://dotnetcli.azureedge.net/dotnet/release-metadata/releases-index.json';
class DotnetCoreInstaller {
constructor(version, quality) {
this.version = version;

View File

@ -107,7 +107,7 @@ export class DotnetVersionResolver {
}
static DotNetCoreIndexUrl: string =
'https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/releases-index.json';
'https://dotnetcli.azureedge.net/dotnet/release-metadata/releases-index.json';
}
export class DotnetCoreInstaller {