serve a static website using expressjs 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'))