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,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',

View file

@ -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