This commit is contained in:
Ybehrooz
2025-07-13 20:23:02 +03:30
parent 0d366c8bab
commit e3bce3715b
3 changed files with 5 additions and 20 deletions

View File

@@ -97,6 +97,7 @@ func Connect(w http.ResponseWriter, r *http.Request) {
}
w.Header().Set("Content-Type", "application/x-yaml")
w.Header().Set("Content-Disposition", `attachment; filename="`+clusterName+`.yaml"`)
w.Write(decoded)
}