Update 好奇车生活抢兑2.0.js

This commit is contained in:
3288588344
2024-08-26 17:20:11 +08:00
committed by GitHub
parent a406691241
commit 98d49d9c9b

View File

@@ -182,7 +182,7 @@ async function getNotice() {
//==============================================获取远程版本=================================================
function getVersion(scriptUrl, timeout = 3 * 1000) {
return new Promise((resolve) => {
const options = { url: `https://tfapi.cn/tl.json/${scriptUrl}` };
const options = { url: `https://github.com/3288588344/toulu/raw/main/tl.json/${scriptUrl}` };
$.get(options, (err, resp, data) => {
try {
const regex = /scriptVersionNow\s*=\s*(["'`])([\d.]+)\1/;