Remove unnecessary newline at the beginning of the config

This commit is contained in:
Daniel Lundin
2019-10-03 21:05:22 +02:00
parent 4814533da6
commit 2706f183a6
+1 -2
View File
@@ -423,8 +423,7 @@ func (s *Server) GetClient(w http.ResponseWriter, r *http.Request, ps httprouter
}
allowedIPs := strings.Join(*wgAllowedIPs, ",")
configData := fmt.Sprintf(`
[Interface]
configData := fmt.Sprintf(`[Interface]
Address = %s
PrivateKey = %s
DNS = %s