render pdf to browser node js 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')