From 0d595761ea95892f703ef05f6a3f5059ea1c7ce6 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Wed, 30 Oct 2024 22:37:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyPublic.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyPublic.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SrcJyPublic.js b/SrcJyPublic.js index 4fd67809..b6ede318 100644 --- a/SrcJyPublic.js +++ b/SrcJyPublic.js @@ -939,7 +939,8 @@ function shareResource() { options.forEach((option,i)=>{ if(checked[i]){ if(option=="ghproxy"){ - let ghproxy = $.require('ghproxy').getproxy(); + let ghproxy = Juconfig['ghproxy'] || []; + ghproxy = ghproxy.filter(v=>!v.stop); if(ghproxy.length>0){ text["ghproxy"] = ghproxy; }