como definir o mecanismo de visualização no Express
app.set("view engine", "ejs");
app.set("views", path.join(__dirname, "views"));
Mehedi Islam Ripon
app.set("view engine", "ejs");
app.set("views", path.join(__dirname, "views"));
app.set('view engine', 'pug')