From 6eaac40f36b664a51afe6cfe53f5f693db67cdf6 Mon Sep 17 00:00:00 2001 From: 3288588344 <127068117+3288588344@users.noreply.github.com> Date: Wed, 26 Jun 2024 19:17:32 +0800 Subject: [PATCH] Add files via upload --- 好奇车生活抢兑2.0.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/好奇车生活抢兑2.0.js b/好奇车生活抢兑2.0.js index e87f57c..6fc886d 100644 --- a/好奇车生活抢兑2.0.js +++ b/好奇车生活抢兑2.0.js @@ -180,7 +180,7 @@ async function getNotice() { //==============================================获取远程版本================================================= function getVersion(scriptUrl, timeout = 3 * 1000) { return new Promise((resolve) => { - const options = { url: `https://fastly.jsdelivr.net/gh/${scriptUrl}` }; + const options = { url: `https://tfapi.cn/tl.json/${scriptUrl}` }; $.get(options, (err, resp, data) => { try { const regex = /scriptVersionNow\s*=\s*(["'`])([\d.]+)\1/;