Skip to content

Commit

Permalink
change trojan ws path name from "serviceName" to "path" to fit v2rayN…
Browse files Browse the repository at this point in the history
… export format. (v2rayA#1553)
  • Loading branch information
hatrd authored Nov 3, 2024
1 parent 53f7376 commit a7da65d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/core/serverObj/trojan.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}
Expand Down

0 comments on commit a7da65d

Please sign in to comment.