fix: correct open/download link behaviour

This commit is contained in:
Asraye authored and GitHub committed 2025-09-04 04:22:20 +10:00
1 parent 59226959ba
commit f22e6fa9fe
1 file changed
+2 -2
@@ -26,8 +26,8 @@ export default function AttachmentActions({ attachment }: Props) {
const { filename, metadata, size } = attachment;
const url = client.generateFileURL(attachment);
const open_url = `${url}/${filename}`;
const download_url = url;
const open_url = url;
const download_url = `${url}/${filename}`;
const filesize = determineFileSize(size);