Skip to content

Commit

Permalink
feat: sing-box 支持 detour 参数(之前只能用 underlying-proxy 或 dialer-proxy 来设置)
Browse files Browse the repository at this point in the history
  • Loading branch information
xream committed Dec 22, 2024
1 parent fcc9d04 commit 0069b0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sub-store",
"version": "2.14.445",
"version": "2.14.446",
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
"main": "src/main.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion backend/src/core/proxy-utils/producers/sing-box.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import $ from '@/core/app';
import { isIPv4, isIPv6 } from '@/utils';

const detourParser = (proxy, parsedProxy) => {
if (proxy['dialer-proxy']) parsedProxy.detour = proxy['dialer-proxy'];
parsedProxy.detour = proxy['dialer-proxy'] || proxy.detour;
};
const tfoParser = (proxy, parsedProxy) => {
parsedProxy.tcp_fast_open = false;
Expand Down

0 comments on commit 0069b0c

Please sign in to comment.