app.set express.static code example Example: express serve static app.use('/static', express.static(__dirname + '/public'));