mirror of https://github.com/Trivernis/whooshy.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
452 B
JavaScript
15 lines
452 B
JavaScript
const express = require('express'),
|
|
router = express.Router(),
|
|
globals = require('../lib/globals'),
|
|
mdEmoji = require('markdown-it-emoji'),
|
|
md = require('markdown-it')()
|
|
.use(mdEmoji);
|
|
|
|
/* GET home page. */
|
|
router.get('/', (req, res) => {
|
|
let info = req.session.acceptedCookies? null: globals.cookieInfo;
|
|
res.render('changelog/changes', { changelog: md.render(globals.changelog), info: info});
|
|
});
|
|
|
|
module.exports = router;
|