diff --git a/backend/package.json b/backend/package.json index 4cb4dc8..6acfcef 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.19.14", + "version": "2.19.16", "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/stash.js b/backend/src/core/proxy-utils/producers/stash.js index 97555f9..eaf1662 100644 --- a/backend/src/core/proxy-utils/producers/stash.js +++ b/backend/src/core/proxy-utils/producers/stash.js @@ -39,12 +39,8 @@ export default function Stash_Producer() { 'xchacha20', 'chacha20-ietf-poly1305', 'xchacha20-ietf-poly1305', - ...(opts['include-unsupported-proxy'] - ? [ - '2022-blake3-aes-128-gcm', - '2022-blake3-aes-256-gcm', - ] - : []), + '2022-blake3-aes-128-gcm', + '2022-blake3-aes-256-gcm', ].includes(proxy.cipher)) || (proxy.type === 'snell' && String(proxy.version) === '4') || (opts['include-unsupported-proxy'] diff --git a/backend/src/utils/user-agent.js b/backend/src/utils/user-agent.js index 682946f..96e2088 100644 --- a/backend/src/utils/user-agent.js +++ b/backend/src/utils/user-agent.js @@ -75,7 +75,7 @@ export function shouldIncludeUnsupportedProxy(platform, ua) { if ( platform === 'Stash' && target === 'Stash' && - gte(version, '2.8.0') + gte(version, '3.1.0') ) { return true; }