From 58e160f1fe246ac24176f13d4da530872f94e6bc Mon Sep 17 00:00:00 2001 From: BigCoke233 Date: Tue, 14 Apr 2020 16:07:55 +0800 Subject: =?UTF-8?q?:ambulance:=20Add:=20=E6=B7=BB=E5=8A=A0=20GitHack=20CDN?= =?UTF-8?q?=20=E4=BD=9C=E4=B8=BA=E9=9D=99=E6=80=81=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E5=8A=A0=E9=80=9F(=E5=87=8F=E9=80=9F)=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- functions.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index be3fccc..1ddceb2 100644 --- a/functions.php +++ b/functions.php @@ -85,7 +85,10 @@ function generate_require($files,$type,$cdn,$custom) { $path = 'https://cdn.jsdelivr.net/gh/BigCoke233/miracles@'.themeVersion()."/"; } elseif ($cdn=='2'){ - $path = 'http://raw.githack.com/BigCoke233/miracles/master/'; + $path = 'https://raw.githack.com/BigCoke233/miracles/master/'; + } + elseif ($cdn=='4'){ + $path = 'https://rawcdn.githack.com/BigCoke233/miracles/master/'; } elseif ($cdn=='3'){ $path = $custom; -- cgit v1.2.3