20 lines
346 B
JavaScript
20 lines
346 B
JavaScript
'use strict';
|
|
|
|
const container = require('../Container');
|
|
const hasher = container.get('helpers/password-hash');
|
|
|
|
module.exports = {
|
|
'/': {
|
|
// Get homepage
|
|
get: (req, res) => {
|
|
req.negotiate({
|
|
html: () => {
|
|
return res.render('index', {
|
|
theme: 'github-gist',
|
|
title: 'Blog test page',
|
|
});
|
|
},
|
|
});
|
|
},
|
|
},
|
|
}; |