Skip to content

Commit e0a0ec3

Browse files
committed
fix: 파일 다운로드 url 수정
1 parent 2b6e238 commit e0a0ec3

File tree

1 file changed

+1
-1
lines changed
  • src/components/editor/common

1 file changed

+1
-1
lines changed

src/components/editor/common/File.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const createFileNodeHTML = (attrs: FileAttributes): HTMLElement => {
2929
'flex items-center justify-center w-8 h-8 text-blue-600 rounded-full transition';
3030

3131
const downloadLink = document.createElement('a');
32-
downloadLink.href = `${API_URL}file/download/${attrs.src}`;
32+
downloadLink.href = `${API_URL}/file/download/${attrs.src}`;
3333
downloadLink.target = '_blank';
3434
downloadLink.rel = 'noopener noreferrer';
3535

0 commit comments

Comments
 (0)