website/routes/lore.js

14 lines
249 B
JavaScript
Raw Normal View History

2019-11-19 06:52:41 +00:00
var express = require('express');
var lore = express.Router();
2019-11-28 19:03:30 +00:00
const con = require('../constants');
2019-11-19 06:52:41 +00:00
lore.get('/', (req, res) => {
2019-11-28 19:03:30 +00:00
res.render('story', {
layout: 'lore',
name: `${con.name}`,
host: req.hostname
2019-11-19 06:52:41 +00:00
});
});
module.exports = lore;