From bb17feeced8e9fc2f775dc85fb1010fbef9972a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 2 Sep 2024 02:20:26 +0200 Subject: [PATCH] fix: update version registry to official one (#200) --- src/consts.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/consts.rs b/src/consts.rs index 0bde61d..340bf84 100644 --- a/src/consts.rs +++ b/src/consts.rs @@ -1,6 +1,6 @@ pub const REGISTRY_OFFICIAL: &str = "https://dl.deno.land/"; pub const REGISTRY_CN: &str = "https://dl.deno.js.cn/"; -pub const REGISTRY_LIST_OFFICIAL: &str = "https://releases.deno.dev"; +pub const REGISTRY_LIST_OFFICIAL: &str = "https://deno.com/versions.json"; pub const REGISTRY_LIST_CN: &str = "https://dl.deno.js.cn/versions.json"; pub const REGISTRY_LATEST_RELEASE_PATH: &str = "release-latest.txt";