Skip to content

Commit 88acf24

Browse files
authored
Merge pull request #42 from govtechmy/hotfix/add-slash-download-url
add / on download URL
2 parents a03caca + e98d14b commit 88acf24

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)