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.
whooshy/routes/index.js

13 lines
371 B
JavaScript

const express = require('express');
const router = express.Router();
const globals = require('../lib/globals');
6 years ago
/* 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'});
6 years ago
});
module.exports = router;