diff --git a/backend/package.json b/backend/package.json index 3ed92a6..f26dfcc 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.14.306", + "version": "2.14.307", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", "main": "src/main.js", "scripts": { diff --git a/backend/src/core/proxy-utils/producers/uri.js b/backend/src/core/proxy-utils/producers/uri.js index 85d5787..60cad08 100644 --- a/backend/src/core/proxy-utils/producers/uri.js +++ b/backend/src/core/proxy-utils/producers/uri.js @@ -55,7 +55,9 @@ export default function URI_Producer() { result = `${result}${proxy.plugin ? '&' : '?'}uot=1`; } if (proxy.tfo) { - result = `${result}${proxy.plugin ? '&' : '?'}tfo=1`; + result = `${result}${ + proxy.plugin || proxy['udp-over-tcp'] ? '&' : '?' + }tfo=1`; } result += `#${encodeURIComponent(proxy.name)}`; break;