logo image

How to serve a image file from given path in Nodejs



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