diff --git a/backend/package.json b/backend/package.json index ecba1d9d..a21c6e2f 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.21.39", + "version": "2.21.40", "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/egern.js b/backend/src/core/proxy-utils/producers/egern.js index 689d4b2a..b8f76932 100644 --- a/backend/src/core/proxy-utils/producers/egern.js +++ b/backend/src/core/proxy-utils/producers/egern.js @@ -2,7 +2,7 @@ import { isPresent } from './utils'; export default function Egern_Producer() { const type = 'ALL'; - const produce = (proxies, type, opts = {}) => { + const produce = (proxies, type) => { // https://egernapp.com/zh-CN/docs/configuration/proxies const list = proxies .filter((proxy) => { @@ -18,9 +18,7 @@ export default function Egern_Producer() { 'vmess', 'tuic', 'wireguard', - ...(opts['include-unsupported-proxy'] - ? ['anytls'] - : []), + 'anytls', ].includes(proxy.type) || (proxy.type === 'ss' && ((proxy.plugin === 'obfs' && diff --git a/backend/src/utils/user-agent.js b/backend/src/utils/user-agent.js index 3b9031e4..0f6378c5 100644 --- a/backend/src/utils/user-agent.js +++ b/backend/src/utils/user-agent.js @@ -75,13 +75,13 @@ export function shouldIncludeUnsupportedProxy(platform, headers) { ) { return true; } - if ( - platform === 'Egern' && - target === 'Egern' && - ua.match(/build\/(\d+)/i)?.[1] >= 718 - ) { - return true; - } + // if ( + // platform === 'Egern' && + // target === 'Egern' && + // ua.match(/build\/(\d+)/i)?.[1] >= 718 + // ) { + // return true; + // } // // if ( // // platform === 'Stash' && // // target === 'Stash' &&