diff --git a/src/version.ts b/src/version.ts index 226b168..0e4a9fc 100644 --- a/src/version.ts +++ b/src/version.ts @@ -159,10 +159,10 @@ async function resolveRelease(range: string): Promise { } return { version, kind: "stable" }; } else { - const res = await fetchWithRetries("https://deno.com/versions.json"); + const res = await fetchWithRetries("https://dl.deno.land/versions.json"); if (res.status !== 200) { throw new Error( - "Failed to fetch stable version info from deno.com/versions.json. Please try again later.", + "Failed to fetch stable version info from dl.deno.land/versions.json. Please try again later.", ); } const versionJson = await res.json();