Update workers_keep.js

This commit is contained in:
甬哥侃侃侃ygkkk
2025-02-27 18:21:17 +08:00
committed by GitHub
parent 84f8cc10b3
commit f55d55e2a7
+3 -3
View File
@@ -1,7 +1,7 @@
addEventListener('scheduled', event => event.waitUntil(handleScheduled()));
// 配合甬哥的bash <(curl -Ls https://raw.githubusercontent.com/yonggekkk/sing-box-yg/main/serv00.sh)脚本,生成保活网页
// 每个保活网页之间用空格或者,或者,间隔开,网页前带http://
const urlString = 'http://保活网页1 http://保活网页2 http://保活网页3';
// 配合甬哥的bash <(curl -Ls https://raw.githubusercontent.com/yonggekkk/sing-box-yg/main/serv00.sh)脚本,生成保活网页与重启网页
// 每个保活网页/up或每个重启网页/re之间用空格或者,或者,间隔开,网页前带http://
const urlString = 'http://保活或重启网页1 http://保活或重启网页2 http://保活或重启网页3 ………';
const urls = urlString.split(/[\s,]+/);
const TIMEOUT = 5000;
async function fetchWithTimeout(url) {