How to serve a image file from given path in Nodejs

Views: 46   

const path = require('path')
res.sendfile(path.resolve(imagePath));
On By