feat: sing-box 支持 detour 参数(之前只能用 underlying-proxy 或 dialer-proxy 来设置)

This commit is contained in:
xream 2024-12-22 20:06:00 +08:00
parent fcc9d047ae
commit 0069b0ce83
No known key found for this signature in database
GPG Key ID: 1D2C5225471789F9
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "sub-store", "name": "sub-store",
"version": "2.14.445", "version": "2.14.446",
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
"main": "src/main.js", "main": "src/main.js",
"scripts": { "scripts": {

View File

@ -3,7 +3,7 @@ import $ from '@/core/app';
import { isIPv4, isIPv6 } from '@/utils'; import { isIPv4, isIPv6 } from '@/utils';
const detourParser = (proxy, parsedProxy) => { const detourParser = (proxy, parsedProxy) => {
if (proxy['dialer-proxy']) parsedProxy.detour = proxy['dialer-proxy']; parsedProxy.detour = proxy['dialer-proxy'] || proxy.detour;
}; };
const tfoParser = (proxy, parsedProxy) => { const tfoParser = (proxy, parsedProxy) => {
parsedProxy.tcp_fast_open = false; parsedProxy.tcp_fast_open = false;