From 30615cedcf82bb8cc6f2177beb1646380e5bce69 Mon Sep 17 00:00:00 2001 From: bill bittner Date: Tue, 20 Feb 2018 15:43:39 -0800 Subject: [PATCH] updated missing "title" in spee.ch config --- config/speechConfig.js.example | 5 +++-- routes/page-routes.js | 2 -- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/config/speechConfig.js.example b/config/speechConfig.js.example index 7abd197c..04c29d27 100644 --- a/config/speechConfig.js.example +++ b/config/speechConfig.js.example @@ -23,8 +23,9 @@ module.exports = { uploadDirectory: null, // enter file path to where uploads/publishes should be stored }, site: { - name: 'Spee.ch', - host: 'https://spee.ch', + title: 'Spee.ch', + name : 'Spee.ch', + host : 'https://spee.ch', }, claim: { defaultTitle : 'Spee.ch', diff --git a/routes/page-routes.js b/routes/page-routes.js index 9b4bf62c..9bb05b03 100644 --- a/routes/page-routes.js +++ b/routes/page-routes.js @@ -3,12 +3,10 @@ const { site } = require('../config/speechConfig.js'); module.exports = (app) => { // route for the home page app.get('/', (req, res) => { - console.log('rendering homepage'); res.status(200).render('index'); }); // route to display login page app.get('/login', (req, res) => { - console.log('rendering login page'); res.status(200).render('index'); }); // route to show 'about' page