express.js set public folder code example Example: express public folder app.use(express.static('public')) app.use(express.static('files'))