12 lines
162 B
JavaScript
12 lines
162 B
JavaScript
'use strict';
|
|
|
|
module.exports = {
|
|
'/': {
|
|
// Get homepage
|
|
get: (req, res) => {
|
|
return res.render('index', {
|
|
title: 'Blog test page',
|
|
});
|
|
},
|
|
},
|
|
}; |