mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-06-16 02:37:19 +08:00
fix: VMess URI alterId parseInt
This commit is contained in:
parent
96769598ef
commit
9ac1112b37
@ -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": {
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user