From 102ce5b0a5bdbf2a16ccf4df8f60b4b5fc2f2a12 Mon Sep 17 00:00:00 2001 From: mercury Date: Wed, 1 May 2024 16:25:42 +0400 Subject: [PATCH] delete trojan --- app/bot.php | 8 ++++---- config/sing.json | 7 ------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/app/bot.php b/app/bot.php index bc5cfd9..b1156e6 100644 --- a/app/bot.php +++ b/app/bot.php @@ -3902,10 +3902,10 @@ DNS-over-HTTPS with IP: 'text' => $this->i18n('shadow') . ' ' . ($pac['xtlsmode'] == 'shadow' ? '✅' : ''), 'callback_data' => "/setSingboxType shadow", ], - [ - 'text' => $this->i18n('trojan') . ' ' . ($pac['xtlsmode'] == 'trojan' ? '✅' : ''), - 'callback_data' => "/setSingboxType trojan", - ], + // [ + // 'text' => $this->i18n('trojan') . ' ' . ($pac['xtlsmode'] == 'trojan' ? '✅' : ''), + // 'callback_data' => "/setSingboxType trojan", + // ], ]; $data[] = [ [ diff --git a/config/sing.json b/config/sing.json index 319568c..0df1cc9 100644 --- a/config/sing.json +++ b/config/sing.json @@ -54,13 +54,6 @@ "detour": "direct" } ], - "rules": [ - { - "outbound": "any", - "server": "dns-direct", - "disable_cache": false - } - ], "strategy": "ipv4_only", "independent_cache": true },