From 17c88f5577b8ccddbe9b2fe0b92f0550f6a68d53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 31 Aug 2024 20:11:30 +0200 Subject: [PATCH] fix: update version registry to official one --- 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";