mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-11 10:29:00 +08:00
fix: 兼容不规范的 VLESS URI
This commit is contained in:
parent
2ecad8bbb8
commit
c3e5da7ee4
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sub-store",
|
"name": "sub-store",
|
||||||
"version": "2.14.220",
|
"version": "2.14.221",
|
||||||
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
|
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
|
||||||
"main": "src/main.js",
|
"main": "src/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -406,7 +406,7 @@ function URI_VLESS() {
|
|||||||
proxy.tls = true;
|
proxy.tls = true;
|
||||||
params.security = params.security ?? 'reality';
|
params.security = params.security ?? 'reality';
|
||||||
}
|
}
|
||||||
proxy.sni = params.sni ?? params.peer;
|
proxy.sni = params.sni || params.peer;
|
||||||
proxy.flow = params.flow;
|
proxy.flow = params.flow;
|
||||||
if (!proxy.flow && isShadowrocket && params.xtls) {
|
if (!proxy.flow && isShadowrocket && params.xtls) {
|
||||||
// "none" is undefined
|
// "none" is undefined
|
||||||
|
Loading…
x
Reference in New Issue
Block a user