🐛修复了bug
This commit is contained in:
@@ -129,7 +129,7 @@ func (clients) Download(c *gin.Context) {
|
||||
|
||||
// 处理一下数据
|
||||
execData := template_data.ClientConfig{
|
||||
PrivateKey: keys.PrivateKey,
|
||||
PrivateKey: data.Server.PrivateKey,
|
||||
IpAllocation: data.IpAllocation,
|
||||
MTU: setting.MTU,
|
||||
DNS: strings.Join(setting.DnsServer, ","),
|
||||
@@ -201,7 +201,7 @@ func (clients) GenerateQrCode(c *gin.Context) {
|
||||
|
||||
// 处理一下数据
|
||||
execData := template_data.ClientConfig{
|
||||
PrivateKey: keys.PrivateKey,
|
||||
PrivateKey: data.Server.PrivateKey,
|
||||
IpAllocation: data.IpAllocation,
|
||||
MTU: setting.MTU,
|
||||
PublicKey: keys.PublicKey,
|
||||
|
Reference in New Issue
Block a user