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.
16 lines
483 B
JavaScript
16 lines
483 B
JavaScript
const express = require('express'),
|
|
router = express.Router(),
|
|
globals = require('../lib/globals'),
|
|
fsx = require('fs-extra'),
|
|
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;
|