diff --git a/backend/package.json b/backend/package.json index 103f691..41b07e0 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.14.17", + "version": "2.14.18", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", "main": "src/main.js", "scripts": { diff --git a/backend/src/core/proxy-utils/parsers/index.js b/backend/src/core/proxy-utils/parsers/index.js index 39c20a5..4b941ad 100644 --- a/backend/src/core/proxy-utils/parsers/index.js +++ b/backend/src/core/proxy-utils/parsers/index.js @@ -218,7 +218,7 @@ function URI_VMess() { port: params.port, cipher: getIfPresent(params.scy, 'auto'), uuid: params.id, - alterId: getIfPresent(params.aid, 0), + alterId: parseInt(getIfPresent(params.aid, 0)), tls: params.tls === 'tls' || params.tls === true, 'skip-cert-verify': isPresent(params.verify_cert) ? !params.verify_cert