From e35e59ddd7443b61db0a8e64ec0ba6096258f542 Mon Sep 17 00:00:00 2001 From: mofan Date: Mon, 24 Jun 2024 15:43:46 +0800 Subject: [PATCH] =?UTF-8?q?Fix:=20=E4=BF=AE=E5=A4=8D=E5=8D=A1=E7=89=87?= =?UTF-8?q?=E8=B7=B3=E8=BD=ACurl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/index.ts b/src/utils/index.ts index 4e39a7c..f2da3cf 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -15,7 +15,7 @@ function getRandomElements(arr: any[], num: number) { } function getCompleteUrl(url: string) { - return `https:${username}.github.io/${url}`; + return `https://${username}.github.io/${url}`; } export { getRandomElements, getCompleteUrl };