mirror of
https://github.com/v2rayA/v2rayA.git
synced 2024-11-25 16:34:19 +08:00
change trojan ws path name from "serviceName" to "path" to fit v2rayN export format. (#1553)
This commit is contained in:
parent
53f7376ca4
commit
a7da65d780
@ -69,7 +69,7 @@ func ParseTrojanURL(u string) (data *Trojan, err error) {
|
||||
Sni: sni,
|
||||
Alpn: t.Query().Get("alpn"),
|
||||
Type: t.Query().Get("type"),
|
||||
Path: t.Query().Get("serviceName"),
|
||||
Path: t.Query().Get("path"),
|
||||
AllowInsecure: allowInsecure == "1" || allowInsecure == "true",
|
||||
Protocol: "trojan",
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user