yugen.work/routes/lore.js
2019-11-28 20:03:30 +01:00

13 lines
249 B
JavaScript

var express = require('express');
var lore = express.Router();
const con = require('../constants');
lore.get('/', (req, res) => {
res.render('story', {
layout: 'lore',
name: `${con.name}`,
host: req.hostname
});
});
module.exports = lore;