Pasta estática Express
// dependencies
const path = require('path');
// set static folder
app.set(express.static(path.join(__dirname, 'public')));
Mehedi Islam Ripon
// dependencies
const path = require('path');
// set static folder
app.set(express.static(path.join(__dirname, 'public')));
app.use(express.static('public'))
app.use(express.static('files'))