You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
253 B
8 lines
253 B
module.exports = (req, res) => {
|
|
const ONE_MONTH_IN_SECONDS = 60 * 60 * 24 * 30;
|
|
res.setHeader('Cache-Control', `s-maxage=${ONE_MONTH_IN_SECONDS}, stale-while-revalidate`);
|
|
res.render('about.html', {
|
|
bodyClass: 'about',
|
|
pageTitle: 'About'
|
|
})
|
|
};
|
|
|