server.use(express.static('./')) code example Example: express static serve app.use(express.static('public'))