浏览代码

Revert "add line breaks"

This reverts commit cf07f667eb51afbd3a0b653af958085545a36fe9.
abhishek9686 1 年之前
父节点
当前提交
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,