feat: support uuid with custom string

This commit is contained in:
Meta
2022-04-27 18:02:29 +08:00
parent 183973e823
commit 73aa8c7be7
3 changed files with 30 additions and 2 deletions

View File

@@ -386,7 +386,7 @@ func NewVless(option VlessOption) (*Vless, error) {
}
}
client, err := vless.NewClient(option.UUID, addons, option.FlowShow)
client, err := vless.NewClient(uuidMap(option.UUID), addons, option.FlowShow)
if err != nil {
return nil, err
}