:recycle:重构了部分代码

This commit is contained in:
coward
2024-03-13 17:05:02 +08:00
parent 7716a15dbb
commit 7c48551989
15 changed files with 125 additions and 29 deletions

View File

@@ -80,7 +80,7 @@ func asyncWireguardConfigFile() {
Name: v.Name,
Email: v.Email,
PublicKey: clientKey.PublicKey,
PresharedKey: clientKey.PrivateKey,
PresharedKey: clientKey.PresharedKey,
AllowedIPS: v.AllowedIps,
PersistentKeepalive: strconv.Itoa(globalSetting.PersistentKeepalive),
Endpoint: v.Endpoint,