Skip to content

Commit 811e9ea

Browse files
authored
Merge pull request #36 from govtechmy/feature/SSD-697-hotfix-download-slash
hotfix : remove redundant slash
2 parents 5e3c813 + c340c94 commit 811e9ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/downloads.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const buildDownloadPath = (
2020
filename: string,
2121
ext: "pdf" | "csv"
2222
): string =>
23-
`${appConfig.downloadUrl}/${getHansardPrefix(filename)}/${filename}.${ext}`;
23+
`${appConfig.downloadUrl}${getHansardPrefix(filename)}/${filename}.${ext}`;
2424

2525
/**
2626
* Trigger a download using the internal proxy route. Falls back to window.open.

0 commit comments

Comments
 (0)