diff --git a/proxy/shadowsocks.go b/proxy/shadowsocks.go index d3ccc95..a50726e 100644 --- a/proxy/shadowsocks.go +++ b/proxy/shadowsocks.go @@ -54,6 +54,7 @@ func (ss Shadowsocks) ToSurge() string { if ss.PluginOpts["host"].(string) != "" { text += ", obfs-host=" + ss.PluginOpts["host"].(string) } + return text } else { return fmt.Sprintf("%s = ss, %s, %d, encrypt-method=%s, password=%s, udp-relay=false", ss.Name, ss.Server, ss.Port, ss.Cipher, ss.Password)