From 11131c2d849211df280d8d8d83d9177e69530482 Mon Sep 17 00:00:00 2001 From: FW27623 <1970446279@qq.com> Date: Sat, 11 Nov 2023 20:22:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2ghproxy.com=E4=B8=BAgh-proxy.?= =?UTF-8?q?com?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/script.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/script.js b/js/script.js index d2f4484d..40fc3604 100644 --- a/js/script.js +++ b/js/script.js @@ -1,7 +1,7 @@ function loadJSON(type) { var urls = { - 'basic': 'https://ghproxy.com/https://raw.githubusercontent.com/Snoopy1866/LiTiaotiao-Custom-Rules/main/BasicRules.json', - 'all': 'https://ghproxy.com/https://raw.githubusercontent.com/Snoopy1866/LiTiaotiao-Custom-Rules/main/AllRules.json', + 'basic': 'https://gh-proxy.com/https://raw.githubusercontent.com/Snoopy1866/LiTiaotiao-Custom-Rules/main/BasicRules.json', + 'all': 'https://gh-proxy.com/https://raw.githubusercontent.com/Snoopy1866/LiTiaotiao-Custom-Rules/main/AllRules.json', 'basic_backup': 'https://cdn.jsdelivr.net/gh/Snoopy1866/LiTiaotiao-Custom-Rules/BasicRules.json', 'all_backup': 'https://cdn.jsdelivr.net/gh/Snoopy1866/LiTiaotiao-Custom-Rules/AllRules.json' }; @@ -37,7 +37,7 @@ function loadJSON(type) { if (type === 'basic' || type === 'all') { var backupButton = document.createElement('button'); - backupButton.innerHTML = type === 'basic' ? '基础规则(JsDelivr)' : '全部规则(JsDelivr)'; + backupButton.innerHTML = type === 'basic' ? '基础规则(JsDelivr)' : '全部规则(JsDelivr)'; backupButton.className = 'backup'; backupButton.onclick = function() { loadJSON(type + '_backup');