diff --git a/service/core/serverObj/trojan.go b/service/core/serverObj/trojan.go index da399a805..b7f5929a2 100644 --- a/service/core/serverObj/trojan.go +++ b/service/core/serverObj/trojan.go @@ -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", }