how access image from public in expressjs code example
Example 1: app.use public
app.use(express.static('public'))
app.use(express.static('files'))
Example 2: app.use public
express.static(root, [options])
app.use(express.static('public'))
app.use(express.static('files'))
express.static(root, [options])