cache views

This commit is contained in:
tmont 2021-03-01 21:17:41 -08:00
parent c42469abb0
commit 8bfce04a04

View File

@ -10,7 +10,7 @@ const app = express();
app.set('view engine', 'pug');
app.set('views', path.join(__dirname, 'views'));
app.set('cache views', false);
app.set('cache views', true);
app.use(express.static(path.join(__dirname)));