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