Просмотр исходного кода

Revert "add line breaks"

This reverts commit cf07f667eb51afbd3a0b653af958085545a36fe9.
abhishek9686 1 год назад
Родитель
Сommit
2d5fe283ae
1 измененных файлов с 12 добавлено и 12 удалено
  1. 12 12
      controllers/ext_client.go

+ 12 - 12
controllers/ext_client.go

@@ -269,18 +269,18 @@ func getExtClientConf(w http.ResponseWriter, r *http.Request) {
 		}
 	}
 
-	config := fmt.Sprintf(`[Interface]\n
-Address = %s\n
-PrivateKey = %s\n
-MTU = %d\n
-%s\n
-%s\n
-%s\n
-
-[Peer]\n
-PublicKey = %s\n
-AllowedIPs = %s\n
-Endpoint = %s\n
+	config := fmt.Sprintf(`[Interface]
+Address = %s
+PrivateKey = %s
+MTU = %d
+%s
+%s
+%s
+
+[Peer]
+PublicKey = %s
+AllowedIPs = %s
+Endpoint = %s
 %s
 
 `, addrString,