We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b6e238 commit e0a0ec3Copy full SHA for e0a0ec3
src/components/editor/common/File.ts
@@ -29,7 +29,7 @@ export const createFileNodeHTML = (attrs: FileAttributes): HTMLElement => {
29
'flex items-center justify-center w-8 h-8 text-blue-600 rounded-full transition';
30
31
const downloadLink = document.createElement('a');
32
- downloadLink.href = `${API_URL}file/download/${attrs.src}`;
+ downloadLink.href = `${API_URL}/file/download/${attrs.src}`;
33
downloadLink.target = '_blank';
34
downloadLink.rel = 'noopener noreferrer';
35
0 commit comments