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.
13 lines
371 B
JavaScript
13 lines
371 B
JavaScript
const express = require('express');
|
|
const router = express.Router();
|
|
const globals = require('../lib/globals');
|
|
|
|
|
|
/* GET home page. */
|
|
router.get('/', function(req, res) {
|
|
let info = req.session.acceptedCookies? null: globals.cookieInfo;
|
|
res.render('index', { title: 'Trivernis.net', info: info, contact: 'mailto:trivernis@gmail.com'});
|
|
});
|
|
|
|
module.exports = router;
|