🐛修复一个牛逼的bug
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
coward 2024-08-22 11:43:23 +08:00
parent 37446ea958
commit c7a56b1dde

View File

@ -45,7 +45,7 @@ func (script) GenerateConfig() error {
Email: client.Email, Email: client.Email,
PublicKey: client.Keys.PublicKey, PublicKey: client.Keys.PublicKey,
PresharedKey: client.Keys.PresharedKey, PresharedKey: client.Keys.PresharedKey,
AllowedIPS: client.AllowedIpsStr, AllowedIPS: client.IpAllocationStr,
Endpoint: client.Endpoint, Endpoint: client.Endpoint,
CreateUser: client.CreateUser, CreateUser: client.CreateUser,
Enabled: cast.ToBool(client.Enabled), Enabled: cast.ToBool(client.Enabled),