From d148a7e481623a0cda852d0f96a696c9a21b7ee1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BF=B7=E6=B8=A1?= Date: Wed, 29 Nov 2023 11:10:41 +0800 Subject: [PATCH] fix version registry (#192) --- src/consts.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/consts.rs b/src/consts.rs index 8431253..0bde61d 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://raw.githubusercontent.com/denoland/dotland/main/versions.json"; +pub const REGISTRY_LIST_OFFICIAL: &str = "https://releases.deno.dev"; pub const REGISTRY_LIST_CN: &str = "https://dl.deno.js.cn/versions.json"; pub const REGISTRY_LATEST_RELEASE_PATH: &str = "release-latest.txt";