Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
amanp18 committed May 17, 2024
1 parent f65dc7a commit 42f356d
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1 deletion.
Binary file modified README.md
Binary file not shown.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ app.post('/merge', upload.array('pdfs', 2), async (req, res, next) => {
try {
console.log(req.files);
let d = await mergePdfs(path.join(__dirname, req.files[0].path), path.join(__dirname, req.files[1].path));
res.redirect(`/static/${d}.pdf`);
res.redirect(`/static/${d}`);
} catch (error) {
next(error);
}
Expand Down
Binary file added uploads/d06d03c4bff6cba38ec5cffbec3508b7
Binary file not shown.
Binary file added uploads/e8af5023ac05b8b235aa2591c2c6b6f4
Binary file not shown.

0 comments on commit 42f356d

Please sign in to comment.