Use new URL for upload to subnet (#3720)
Old path: /api/auth/health_reports New path: /api/health/upload Signed-off-by: Shireesh Anjal <shireesh@minio.io>
This commit is contained in:
@@ -326,7 +326,7 @@ func uploadHealthReport(alias string, clusterName string, filename string, licen
|
||||
}
|
||||
|
||||
func subnetUploadURL(clusterName string, filename string, license string, dev bool) string {
|
||||
const apiPath = "/api/auth/health_reports"
|
||||
const apiPath = "/api/health/upload"
|
||||
baseURL := "https://subnet.min.io"
|
||||
if dev {
|
||||
baseURL = "http://localhost:9000"
|
||||
|
||||
Reference in New Issue
Block a user