express router serve static files code example
Example 1: express serve static
app.use('/static', express.static(__dirname + '/public'));
Example 2: express static serve
app.use(express.static('public'))
app.use('/static', express.static(__dirname + '/public'));
app.use(express.static('public'))