diff options
Diffstat (limited to 'server/sonar-web/src')
-rw-r--r-- | server/sonar-web/src/main/js/apps/audit-logs/components/DownloadButton.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/audit-logs/components/DownloadButton.tsx b/server/sonar-web/src/main/js/apps/audit-logs/components/DownloadButton.tsx index 718bc6ee853..1ed64994ced 100644 --- a/server/sonar-web/src/main/js/apps/audit-logs/components/DownloadButton.tsx +++ b/server/sonar-web/src/main/js/apps/audit-logs/components/DownloadButton.tsx @@ -22,7 +22,6 @@ import { ButtonPrimary } from 'design-system/lib'; import * as React from 'react'; import { now } from '../../../helpers/dates'; import { translate } from '../../../helpers/l10n'; -import { getBaseUrl } from '../../../helpers/system'; import '../style.css'; import { RangeOption } from '../utils'; @@ -73,7 +72,7 @@ export default function DownloadButton(props: Readonly<DownloadButtonProps>) { const downloadUrl = downloadDisabled ? '#' - : `${getBaseUrl()}/api/audit_logs/download?${getRangeParams(selection, dateRange)}`; + : `/api/audit_logs/download?${getRangeParams(selection, dateRange)}`; return ( <> |