From bc869c9a9de8bf556a03c30936fd83109b7d34e1 Mon Sep 17 00:00:00 2001 From: Innei Date: Wed, 16 Nov 2022 21:43:18 +0800 Subject: [PATCH] fix: cdn url Signed-off-by: Innei --- scripts/fetch-build.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fetch-build.mjs b/scripts/fetch-build.mjs index cc9a566d7..4de3dfac2 100644 --- a/scripts/fetch-build.mjs +++ b/scripts/fetch-build.mjs @@ -25,7 +25,7 @@ async function main() { throw new Error('no download url') } - const arrayBuffer = await fetch(`https://cc.shizuri.net/${downloadUrl}`).then( + const arrayBuffer = await fetch(`https://ghproxy.com/${downloadUrl}`).then( (res) => res.arrayBuffer(), ) const buffer = Buffer.from(arrayBuffer)