fix: ss converter cipher missing
This commit is contained in:
parent
3ff14869ae
commit
7d6ccebef7
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ func ConvertsV2Ray(buf []byte) ([]map[string]any, error) {
|
||||||
cipher string
|
cipher string
|
||||||
password string
|
password string
|
||||||
)
|
)
|
||||||
|
cipher = cipherRaw
|
||||||
if password, found = urlSS.User.Password(); !found {
|
if password, found = urlSS.User.Password(); !found {
|
||||||
dcBuf, _ := enc.DecodeString(cipherRaw)
|
dcBuf, _ := enc.DecodeString(cipherRaw)
|
||||||
cipher, password, found = strings.Cut(string(dcBuf), ":")
|
cipher, password, found = strings.Cut(string(dcBuf), ":")
|
||||||
|
|
Loading…
Reference in a new issue