node js open pdf from url in browser 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')