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 },