From de56b7657f588c38085e38fbd21ed471691b81e8 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 16 Oct 2022 18:53:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcLive.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcLive.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SrcLive.js b/SrcLive.js index 0616f2d9..aac4cb81 100644 --- a/SrcLive.js +++ b/SrcLive.js @@ -255,7 +255,7 @@ function LiveSet() { try{ let url = obj.split(',')[1]; let code = JSON.parse(request(url,{onlyHeaders:true,timeout:2000})); - if(code!=200){ + if(code.statusCode!=200){ fails.push(obj); } }catch(e){ @@ -263,7 +263,7 @@ function LiveSet() { } return 1; } - showLoading('多线程检测中\n耗时会比较长,请保持屏幕亮屏'); + showLoading('耗时会比较长,请保持屏幕亮屏'); for (var i=0;i