mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 06:53:44 +08:00
parent
d05952e945
commit
0646fa96a6
@ -578,7 +578,9 @@ function URI_VLESS(line: string): IProxyVlessConfig {
|
|||||||
proxy.network = "ws";
|
proxy.network = "ws";
|
||||||
httpupgrade = true;
|
httpupgrade = true;
|
||||||
} else {
|
} else {
|
||||||
proxy.network = "tcp";
|
proxy.network = ["tcp", "ws", "http", "grpc", "h2"].includes(params.type)
|
||||||
|
? (params.type as NetworkType)
|
||||||
|
: "tcp";
|
||||||
}
|
}
|
||||||
if (!proxy.network && isShadowrocket && params.obfs) {
|
if (!proxy.network && isShadowrocket && params.obfs) {
|
||||||
switch (params.type) {
|
switch (params.type) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user