mirror of
https://github.com/revoltchat/revite.git
synced 2025-01-23 09:39:02 -05:00
Don't add /download to URL in Attachment Actions
This commit is contained in:
parent
ac2beaf549
commit
5f3b5600b4
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ export default function AttachmentActions({ attachment }: Props) {
|
|||
|
||||
const url = client.generateFileURL(attachment);
|
||||
const open_url = `${url}/${filename}`;
|
||||
const download_url = url?.replace("attachments", "attachments/download");
|
||||
const download_url = url;
|
||||
|
||||
const filesize = determineFileSize(size);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue