app.use(express.static(__dirname + "/public")) code example Example: express img folder app.use(express.static('public'))