updated rep pdf to stream
This commit is contained in:
@@ -196,12 +196,4 @@ export default async function handler(req, res) {
|
||||
path: `/files/${blobProgress.pinswg_name}.pdf`,
|
||||
});
|
||||
});
|
||||
|
||||
// return res.status(200).json({
|
||||
// data: "success",
|
||||
// path: process.cwd() + `/tmp/${blobProgress.pinswg_name}.pdf`,
|
||||
// });
|
||||
// } else {
|
||||
// return res.status(400).json();
|
||||
// }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user