Skip to content

Commit

Permalink
[wasm] Fix "we can't find snapshot urls" (dotnet#99814)
Browse files Browse the repository at this point in the history
* Update snapshot url.

* Remove whitespace.
  • Loading branch information
ilonatommy authored Mar 16, 2024
1 parent 6f10cd3 commit 55273a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tasks/WasmBuildTasks/UpdateChromeVersions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ private async Task<Stream> GetDownloadFileStreamAsync(string filename, string ur

private async Task<string?> FindSnapshotUrlFromBasePositionAsync(string osPrefix, ChromeVersionSpec version, bool throwIfNotFound = true)
{
string baseUrl = $"{s_snapshotBaseUrl}/{osPrefix}";
string baseUrl = $"{s_snapshotBaseUrl}?prefix={osPrefix}";

int branchPosition = int.Parse(version.branch_base_position);
for (int i = 0; i < MaxBranchPositionsToCheck; i++)
Expand Down

0 comments on commit 55273a1

Please sign in to comment.