splithttp传输方式更名为xhttp

This commit is contained in:
wyx2685
2024-11-26 10:29:12 +09:00
parent 0e29c19f0e
commit c2d5861d7d
5 changed files with 48 additions and 70 deletions

View File

@@ -41,9 +41,7 @@ func buildSSUser(tag string, userInfo *panel.UserInfo, cypher string, serverKey
case "2022-blake3-chacha20-poly1305":
keyLength = 32
}
ssAccount := &shadowsocks_2022.User{
Level: 0,
Email: format.UserTag(tag, userInfo.Uuid),
ssAccount := &shadowsocks_2022.Account{
Key: base64.StdEncoding.EncodeToString([]byte(userInfo.Uuid[:keyLength])),
}
return &protocol.User{