getting static express image in img tag html code example
Example 1: nodejs express server img src
<img src="/logo.jpg" />
Example 2: nodejs express server img src
app.use(express.static(__dirname + '/images'));
<img src="/logo.jpg" />
app.use(express.static(__dirname + '/images'));