feat(docker): add docker configuration files and update styles
refactor: convert script tags to link tags for stylesheets in HTML files fix: update PDF download to use Uint8Array for blob creation style: reformat CSS file for better readability and organization
This commit is contained in:
@@ -244,7 +244,7 @@ export async function merge() {
|
||||
}
|
||||
|
||||
const mergedPdfBytes = await newPdfDoc.save();
|
||||
downloadFile(new Blob([mergedPdfBytes], { type: 'application/pdf' }), 'merged.pdf');
|
||||
downloadFile(new Blob([new Uint8Array(mergedPdfBytes)], { type: 'application/pdf' }), 'merged.pdf');
|
||||
showAlert('Success', 'PDFs merged successfully!');
|
||||
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user