From f89f0052fca5968f5ecddcf24befa1f618867cf7 Mon Sep 17 00:00:00 2001 From: TED <135175623+iamtheted@users.noreply.github.com> Date: Tue, 25 Nov 2025 20:38:49 +0330 Subject: [PATCH 1/2] fix: adjusted singbox template to the latest format --- app/templates/singbox/default.json | 34 ++++++++++++------------------ 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/app/templates/singbox/default.json b/app/templates/singbox/default.json index e5594628d..2a3ed09e3 100644 --- a/app/templates/singbox/default.json +++ b/app/templates/singbox/default.json @@ -7,20 +7,13 @@ "servers": [ { "tag": "dns-remote", - "address": "1.1.1.2", - "detour": "proxy" + "type": "udp", + "server": "8.8.8.8" }, { "tag": "dns-local", - "address": "local", - "detour": "direct" - } - ], - "rules": [ - { - "outbound": "any", - "server": "dns-local" - } + "type": "local" + } ], "final": "dns-remote" }, @@ -46,20 +39,20 @@ ], "outbounds": [ { - "type": "selector", "tag": "proxy", + "type": "selector", "outbounds": null, "interrupt_exist_connections": true }, { + "tag": "Best Latency 🔥", "type": "urltest", - "tag": "Best Latency", "outbounds": null }, { - "type": "direct", - "tag": "direct" - } + "tag": "direct", + "type": "direct" + } ], "route": { "rules": [ @@ -72,9 +65,10 @@ "action": "hijack-dns" } ], - "final": "proxy", - "auto_detect_interface": true, - "override_android_vpn": true + "final": "proxy", + "default_domain_resolver": "dns-remote", + "auto_detect_interface": true, + "override_android_vpn": true }, "experimental": { "cache_file": { @@ -82,4 +76,4 @@ "store_rdrc": true } } -} +} \ No newline at end of file From a42b14109ca0ba0aaab7760175ad2e79399e0a19 Mon Sep 17 00:00:00 2001 From: TED <135175623+iamtheted@users.noreply.github.com> Date: Tue, 25 Nov 2025 21:07:36 +0330 Subject: [PATCH 2/2] Update default.json --- app/templates/singbox/default.json | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/app/templates/singbox/default.json b/app/templates/singbox/default.json index 2a3ed09e3..e8b052afd 100644 --- a/app/templates/singbox/default.json +++ b/app/templates/singbox/default.json @@ -14,8 +14,7 @@ "tag": "dns-local", "type": "local" } - ], - "final": "dns-remote" + ] }, "inbounds": [ { @@ -41,13 +40,14 @@ { "tag": "proxy", "type": "selector", - "outbounds": null, + "outbounds": [], "interrupt_exist_connections": true }, { "tag": "Best Latency 🔥", "type": "urltest", - "outbounds": null + "outbounds": [], + "url": "https://www.gstatic.com/generate_204" }, { "tag": "direct", @@ -67,8 +67,7 @@ ], "final": "proxy", "default_domain_resolver": "dns-remote", - "auto_detect_interface": true, - "override_android_vpn": true + "auto_detect_interface": true }, "experimental": { "cache_file": {