From 0b5761e5fc1a3c25faf193a73a74bfc031a92712 Mon Sep 17 00:00:00 2001 From: xream Date: Mon, 22 Apr 2024 02:10:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20QX=20=E8=BE=93=E5=87=BA=E6=AD=A3?= =?UTF-8?q?=E5=BC=8F=E6=94=AF=E6=8C=81=20VLESS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/package.json | 2 +- backend/src/core/proxy-utils/producers/qx.js | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/backend/package.json b/backend/package.json index 35cde16..9e0377e 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.14.292", + "version": "2.14.294", "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/qx.js b/backend/src/core/proxy-utils/producers/qx.js index 1694c87..eae9ea5 100644 --- a/backend/src/core/proxy-utils/producers/qx.js +++ b/backend/src/core/proxy-utils/producers/qx.js @@ -3,6 +3,7 @@ import { isPresent, Result } from './utils'; const targetPlatform = 'QX'; export default function QX_Producer() { + // eslint-disable-next-line no-unused-vars const produce = (proxy, type, opts = {}) => { switch (proxy.type) { case 'ss': @@ -18,13 +19,7 @@ export default function QX_Producer() { case 'socks5': return socks5(proxy); case 'vless': - if (opts['include-unsupported-proxy']) { - return vless(proxy); - } else { - throw new Error( - `Platform ${targetPlatform}(App Store Release) does not support proxy type: ${proxy.type}`, - ); - } + return vless(proxy); } throw new Error( `Platform ${targetPlatform} does not support proxy type: ${proxy.type}`,