mirror of
https://github.com/XrayR-project/XrayR.git
synced 2025-06-30 08:09:49 +00:00
fix: vless and trojan flow mode
This commit is contained in:
parent
223589ba14
commit
0bec6c4fdf
@ -47,7 +47,7 @@ func (c *Controller) buildVlessUser(userInfo *[]api.UserInfo) (users []*protocol
|
||||
for i, user := range *userInfo {
|
||||
vlessAccount := &vless.Account{
|
||||
Id: user.UUID,
|
||||
Flow: "xtls-rprx-vision,none",
|
||||
Flow: vless.XRV,
|
||||
}
|
||||
users[i] = &protocol.User{
|
||||
Level: 0,
|
||||
@ -63,7 +63,7 @@ func (c *Controller) buildTrojanUser(userInfo *[]api.UserInfo) (users []*protoco
|
||||
for i, user := range *userInfo {
|
||||
trojanAccount := &trojan.Account{
|
||||
Password: user.UUID,
|
||||
Flow: "xtls-rprx-direct",
|
||||
Flow: "",
|
||||
}
|
||||
users[i] = &protocol.User{
|
||||
Level: 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user