how to send pdf file in express response code example
Example: express send pdf to view
res.setHeader('Content-Type', 'application/pdf')
res.setHeader('Content-Disposition', 'inline;filename=yolo.pdf')
res.setHeader('Content-Type', 'application/pdf')
res.setHeader('Content-Disposition', 'inline;filename=yolo.pdf')