mirror of
https://github.com/alam00000/bentopdf.git
synced 2026-11-08 16:57:14 +01:00
feat: make Docker container port configurable via PORT env var
fix: preserve original filename when downloading processed files
This commit is contained in:
1 parent
2f0d48c01b
commit
bfe4e5b663
77 files changed
+127
-126
No files matched your search
@@ -144,7 +144,7 @@ async function processRemoveAnnotations() {
|
||||
const newPdfBytes = await pageState.pdfDoc.save();
|
||||
downloadFile(
|
||||
new Blob([new Uint8Array(newPdfBytes)], { type: 'application/pdf' }),
|
||||
'annotations-removed.pdf'
|
||||
pageState.file?.name || 'document.pdf'
|
||||
);
|
||||
showAlert('Success', 'Annotations removed successfully!', 'success', () => {
|
||||
resetState();
|
||||
|
||||
Reference in new issue
Block a user