From 252488a6c820928ff58ee8ec5ab849844ccfec7e Mon Sep 17 00:00:00 2001 From: Alexander Matyushentsev Date: Fri, 2 Jul 2021 12:18:23 -0700 Subject: [PATCH] fix: download Pod Logs button not honouring argocd-server rootpath (#6548) Signed-off-by: Alexander Matyushentsev --- ui/src/app/shared/services/applications-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/app/shared/services/applications-service.ts b/ui/src/app/shared/services/applications-service.ts index 76d57b36a8921..9f1937070899c 100644 --- a/ui/src/app/shared/services/applications-service.ts +++ b/ui/src/app/shared/services/applications-service.ts @@ -183,7 +183,7 @@ export class ApplicationsService { public getDownloadLogsURL(applicationName: string, namespace: string, podName: string, resource: {group: string; kind: string; name: string}, containerName: string): string { const search = this.getLogsQuery(namespace, podName, resource, containerName, null, false); search.set('download', 'true'); - return `/api/v1/applications/${applicationName}/logs?${search.toString()}`; + return `api/v1/applications/${applicationName}/logs?${search.toString()}`; } public getContainerLogs(