updated missing "title" in spee.ch config

This commit is contained in:
bill bittner 2018-02-20 15:43:39 -08:00
parent 72cf2230d3
commit 30615cedcf
2 changed files with 3 additions and 4 deletions

View file

@ -23,6 +23,7 @@ module.exports = {
uploadDirectory: null, // enter file path to where uploads/publishes should be stored uploadDirectory: null, // enter file path to where uploads/publishes should be stored
}, },
site: { site: {
title: 'Spee.ch',
name : 'Spee.ch', name : 'Spee.ch',
host : 'https://spee.ch', host : 'https://spee.ch',
}, },

View file

@ -3,12 +3,10 @@ const { site } = require('../config/speechConfig.js');
module.exports = (app) => { module.exports = (app) => {
// route for the home page // route for the home page
app.get('/', (req, res) => { app.get('/', (req, res) => {
console.log('rendering homepage');
res.status(200).render('index'); res.status(200).render('index');
}); });
// route to display login page // route to display login page
app.get('/login', (req, res) => { app.get('/login', (req, res) => {
console.log('rendering login page');
res.status(200).render('index'); res.status(200).render('index');
}); });
// route to show 'about' page // route to show 'about' page