From cd261765132912ef7554162dd13d4e4fc70eb1df Mon Sep 17 00:00:00 2001 From: vpt Date: Tue, 10 Jan 2023 16:36:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'clash.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- clash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clash.js b/clash.js index 81a8d67..6ae2ff3 100644 --- a/clash.js +++ b/clash.js @@ -22,7 +22,7 @@ async function configPrependRules(utils, obj) { const prependDirectRules = directs.split(`\n`).map(item => `DOMAIN-SUFFIX,${item},${directGroupName}`) const proxyResponse = await axios.get('https://git.yevpt.com/vpt/public-data/raw/branch/master/proxy') const proxys = proxyResponse.data - console.log('proxys',proxys.split(`\n`)) + console.log('proxys',proxys.split(`\n`).slice(-5)) const prependProxyRules = proxys.split(`\n`).map(item => `DOMAIN-SUFFIX,${item},${proxyGroupName}`) const prependRules = [...prependDirectRules, ...prependProxyRules] obj.rules = [...prependRules, ...obj.rules]