Skip to content

Commit

Permalink
fix: .pdf 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
coddingyun committed Apr 22, 2024
1 parent 2af9a36 commit f569fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ async function createReader(paperId, paperItems, userPdf) {
if (userPdf) {
res = await fetch(`https://yeondoo-be-upload-pdf.s3.ap-northeast-2.amazonaws.com/${paperId}.pdf`)
} else {
res = await fetch(`${api}/api/paper/file/${paperId}.pdf`);
res = await fetch(`${api}/api/paper/file/${paperId}`);
}

reader = new Reader({
Expand Down

0 comments on commit f569fbd

Please sign in to comment.